Hatkirby on January 7th, 2009 at 12:30:03pmI like programming. I especially like C++, Java and PHP. However, I decided that I want to learn another language.
Perhaps inspired by the PMS I use, Redmine, I have decided to learn Ruby. It's actually not that bad. It's pretty interesting, simple and easy to use. For instance, unlike many languages, Ruby doesn't require classes or main functions to display its "Hello World" program. This is it in its entirety:
puts "Hello World!"
A great way to learn is the "Try Ruby!" interactive prompt available from tryruby.hobix.com that teaches you Ruby from your browser. It's a lot of fun, it's fun and I'm repeating myself.
Another fun aspect of Ruby is the Ruby on Rails framework, which was the base of the popular PHP framework CakePHP. Rails makes it much more easy and fun to write Ruby web applications. I plan to write a certain upcoming website in Rails, too.
One thing that does annoy me about Ruby, though, is that its command-separation character is, like BASIC and all derivatives, the newline. I fine semicolon separated languages so much better. I just do. :)
puts "So, do you like Ruby?" likeRuby = true puts "YAY!" if likeRuby
JAN
7
Comments