April 10, 2003

Ruby!

At the moment I'm currently investigating the use of Ruby for a new project that's starting up at work.

It's a bit mind-boggling after coming from the Java/C++ world, but so far it looks quite neat. It has many similarities from several languages including Java, Perl, Smalltalk, C++, plus some unique features of its own. Have a look at this:

a = %w( ford holden mazda ferrari )
a.each { | car | puts car }

This iterates over the defined array printing out the contents using a feature called 'blocks'.

Well, once I've finished reading about it I'll report back again :)

Posted by crafterm at April 10, 2003 02:05 PM | TrackBack
Comments

How comes you consider using Ruby?

Posted by: Torsten Curdt at April 10, 2003 11:54 PM

Well, it was recommended to by one of our senior engineers in Australia as a potential language for implementing a lightweight client application we'll be building.

It's currently not yet decided whether we'll use it or not, but it's interesting to see how other languages do things from time to time :)

Posted by: Marcus Crafter at April 11, 2003 09:42 AM
Post a comment









Remember personal info?