Posts

Showing posts from October, 2007
Ruby on Rails It is hard to be excited over a new language nowadays, but recently I came across one which seemed to make web & database development fun again. I am referring to the combination of Ruby & Rails (RoR). This was a framework built for real world development problems rather than for 'building a framework' as per it's founder. It has several interesting features: 1. Lack of strong typing & support for 'duck typing' - it works even though you feel lost sometimes if you have been a C/C++/Java/C# programmer. 2. Configuration by convention - no need to configure stuff if you follow the convention, but you can configure if you need to as well. 3. Brevity of expression - introduced by C which can easily get you a cult following. eg. one line to write a program which prints itself. 4. Dynamic nature - ability to add methods or redefine methods on the fly - to any class in the system, even built-in ones. 5. script/console - a hidden gem, difficult to l...