WDI Day Seventeen: Object-Oriented Programming in Ruby

It’s been an exhausting week packed with tons of assignments, hands-on work, and lectures. Today we continued our work with Ruby, focussing on object-oriented programming. We learned about classes for making different instances, initializing arguments when a new instance is created, and methods.

Later in the afternoon we looked at inheritance and how we can set up classes that inherit methods of other classes. Everything made sense to me, but when it comes to tackling hands-on projects, sometimes I have trouble figuring out where to start. Since we’re covering so much information every day, it’s easy enough to stumble here and there.

After class, I attended a talk held by GA’s JavaScript Guild. The speaker focused on regular expressions, which is a very powerful way to find and replace text in strings. I thoroughly enjoyed learning more about these powerful patterns that I’ve somehow managed to use in a couple of my projects thus far. Now that I understand them a little better, I’m looking forward to playing around with them even more.

Resources

WDI Day Five: PseudoCoding and Intro to JS

Finally, the day I was waiting for arrived – working with JavaScript! Although today was also more of a review for me, I did find myself realizing I definitely need to do some extra work in my free time this weekend just to make sure I’m at the level I want to be at with JavaScript.

In the morning we did a few exercises involving PseudoCoding, which I realized is a pretty difficult concept to wrap my mind around. I’ll have to make sure I practice writing pseudo code and will check with my instructors to make sure I’m doing that properly.

We also got to play around with a fun and addictive game, Cookie Clicker:

cookie-clicker

Once we dug into JavaScript, we reviewed data types, conditionals, and ended the day with objects and functions. One of our homework assignments definitely looks like it will be a lot of fun to fiddle around with – it’s a choose your own adventure where the prompt boxes will change based on user input. I’m excited to get started, and hope I don’t run into too many issues. Getting started with JavaScript for any assignment is usually a little tough for me. I’m hoping that will change fairly soon.

Some Fun Resources