I'm a Ruby on Rails / jQuery web developer. Follow me at @sikachu

10 Things you should know about Ruby — #BarcampBKK4

October 24th, 2010 Posted in Programming, Ruby

I’ve done a talk about Ruby in Barcamp Bangkok 4 on Oct 24. Here is the slide in case someone want it.

You can download it if you want. This slide is CC-BY-NC-SA (as some photo I use require share-alike license.)

One good question actually was the difference between module and class. Actually, it just that simple — you cannot create object from a module.

Module exists in Ruby to help you DRY up your code.

When you write several classes which have the same functionality, you better take that portion of the code out and put it in a module and include them back into your classes. That’s actually something Ruby coder loves to do — DRY up your code, and make it more maintainable.


If you have any more question, feel free to post them in the comment section. I actually fumbled on my word a lot, because I didn’t get enough sleep last night. If you also want me to clearify something up, please let me know. Anyway, I hope you enjoyed it.