(Ruby, I’m sorry. It’s been awhile!)
I apologize for falling behind with chronicling the last two days of Ruby classes. There are reasons why:
- Problems with selfish, immature ingrates.
- Stuck with the advanced method assignment because of the previous reason mentioned.
On Day 09, we learned about creating our own methods, defining our new methods, and more refactoring stuff using these new methods. On Day 10, we learned about loops and the tech job interview infamous test known as the FizzBuzz script. Today, we learned about Ruby’s object-oriented powers, class methods and class variables. In fact, we were given a chance to build a simple blog script using Ruby.
And no, you won’t see it online because I am on a server that doesn’t support Ruby. I’m not talking about Ruby on Rails, just Ruby. Here’s the simple blog script that I came up with. Don’t expect it to look like WordPress, please:
This script only works on computers with Ruby installed. In other words, it only works on the Terminal. The result of the script above is the screenshot that you’re seeing at the top of this entry.
Tomorrow is the last day for the Ruby basics for about a week because starting this Thursday, we will be learning 1 about Git and GitHub. I already have a GitHub account, so I’m not sure how this class is going to work and how I’m going to submit all my challenges. Um, yeah, this is going to be a bit problematic in a way. 😅
On the sidenote…
- more like reviewing for me ↩
July 27, 2016 @ 10:08 pm
It’s starting to become more complex, that’s good 😀 keep moving forward and don’t let anyone hold you back!
July 27, 2016 @ 10:49 pm
It does look complex, but what it does is make things easier, like shortcuts in a way.
I’m currently writing today’s lesson post. According to my instructor, today is the last day for basic Ruby lessons. Tomorrow, we start learning Git/GitHub (although I already know Git/GitHub, so I dunno what to do LOL), then after that, we learn about Ruby Gems (Ruby package manager to download Ruby-based programs and libraries, kinda like how PHP has Composer as its package/dependency manager). After that, we’ll be moving on to other Ruby-based web frameworks like Sinatra before we can actually dive into Rails. Whew, can’t wait!
July 27, 2016 @ 11:10 pm
The next one will be a piece of cake then XD Maybe you can put some of that extra time into getting ahead on Ruby ^^
July 27, 2016 @ 11:16 pm
Hehe probably, but I posted in the class forums at Google groups asking about it. But yeah, I’d like to get my hands on learning more about Ruby Gems. I’ve got some exposure for Ruby Gems already (when I was learning how to build sites using Jekyll), but you know, still got lots to learn. 😀
July 28, 2016 @ 10:05 am
There’s always lots to learn as new things will keep being developed 🙂