blog.federicomaffei.com

current level - articles for beginners

Day 10 - A real player needs Class.

class Player
    def initialize
        @knows_about_classes = false
    end

    def after_this_tuesday
        @knows_about_classes = true
    end
end

And we're back, after a long long weekend. The week started with a big juicy lecture about Ruby classes. Now some pieces of the puzzle are starting to combine in a nice way altogether.

I feel really tired and not too keen on blogging about the whole day, that has been basically devoted to understand the basics of OOD and OOP with a bit of CRC cards.

What does all of it mean? We'll see, maybe I'll explain in a longer post soon. For now what I got is that objects and classes are like people and behave like people, and I don't know if a plus or a minus.

But overall good day, with a lot of new stuff to learn. Really looking forward to be in class again tomorrow.

And now, speaking of class, how did you expect an Italian would end this post?

BAGGIO

Long live Roberto.

comments powered by Disqus