On Sun, Dec 31, 2006 at 07:09:11PM +0000, Ian bell wrote:
cl@isbd.net wrote:
So I have been playing a little with Ruby on Rails. I have it up and running and it works in a way but I'm totally unconvinced that it's the answer to the ultimate question - or even the answer to writing database apps for the web.
The 'assumption' the object oriented' is 'always right' gets right up my nose.
I'm all for functional programming *when* it makes sense, if it's reusable, though, then OO is generally nicer - you can do some "interesting" things in C when thinking in an OO way - you don't have "objects" per say, but an implementable interface and dynamic loading of libraries - makes life much easier if you start thinking of them as objects.
OO may not be the best aproach all the time, but a lot of the time at least thinking that way can assist in development and save a *lot* of time in the long run.
Just my 2p.