Time to Get My Ruby On

in #ruby8 years ago

I finally completed all the exercises for the Ruby course on Codeacademy!

I should have finished it sooner but got sidetracked by life. Now it's time to move on to the next part and actually build a script.

It was a decent experience using Codeacademy. They explained each part when going through the course and had hints to help you through it. I admit I was completely lost a few times and took me a while to figure out how to do some of the exercises even though they give you the answer after so many failed attempts. I would keep trying before I eventually gave up and looked at the answer.

One of the last sections towards the end went over object-oriented programming that can mix module methods at the class level using extend. This means that class itself can use the methods, as opposed to instances of the class.

module ThePresent
  def now
    puts "It's #{Time.new.hour > 12 ? Time.new.hour - 12 : Time.new.hour}:#{Time.new.min} #{Time.new.hour > 12 ? 'PM' : 'AM'} (GMT)."
  end
end

class TheHereAnd
  extend ThePresent
end

TheHereAnd.now

There a lot more I need to learn and will probably have to go back and go over the course since I have a terrible memory but at least I know a little bit more when it comes to reading some code.

I need to get back to studying so I can get my Ruby on :P





Image Source



Thank you for taking the time to read my post. Feel free to follow and find me in SteemSpeak on Discord.
Sort:  

When studying programming, it is not desirable to be distracted from studying.
Skipping classes is always reflected in the quality of training.
Systematic studies always help to assimilate the entire training program
You need to find time and master those sections for which you do not have enough knowledge.
Successes.

Thanks. Yes, I figured I would go back through the exercises to master them and try other training programs. Thank you for the advice!!!

Wow! Good on you for taking the initiative and teaching yourself.

You're the type of guy I can learn a lot from.

Good on you my man.

Upvoted

I can completely relate to being distracted from what I am doing by life and all that is going on....but realizing it and getting back to work says a lot.....many use the distraction as a way to give up on goals.....good for you to see the difference and get back to work and learning......I myself need to dive back into what I have been working on now that my move is over and I am settled in....wishing you many successes..... :-)

Thank you buddy. Where has your alter ego gone? :P

He needs to make a return right? lol

bhabi_video_visit-https_goo.gl_wgwqzs#
understand anything bro...?

@bitcoinparadise Congratulations on completing the Ruby course and thanks for upvoting my recent post: HOW GENESIS MINING RIPPED ME OFF MY MONERO

Congratulations @bitcoinparadise! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!