I think one of the issues with 'rails looks like C++' is that it is a mature codebase that has gone through a LOT of iterations. The people working on it are working with levels of abstraction we simply don't see 'from the surface'.
If you spent time actually digging out the thoughts behind the levels of abstraction that have resulted in the current codebase, you would build a mental map of what is trying to be accomplished that at that point would seem very natural to you. at that point, that is. On 18 Jul 2013, at 14:24, Ash Moran <[email protected]> wrote: > > On 18 Jul 2013, at 13:18, Graham Ashton <[email protected]> wrote: > >> Simula inspired both Smalltalk and C++, but C++ had a very different (data >> centric) philosophy. The behavioural philosophy of Simula and Smalltalk (in >> which an object model should map closely to the real world) has been largely >> forgotten, which is a bit of a bugger given that was rather the point of the >> whole thing in the first place. > > I sometimes wonder how different the Ruby mindset would be if > "method_missing" was called "does_not_understand" (or maybe > "message_not_understood", which would be my choice). > > I just googled for "ruby language tutorial" and of 3 of the top > results[1,2,3], none contain the word "message" anywhere you could reasonably > expect to see them (pages on objects, classes and methods). I have a theory > this is why Rails looks like it's written in C++, but I have no idea how to > test that. > > Ash > > [1] http://www.ruby-lang.org/en/documentation/quickstart/ > [2] http://www.tutorialspoint.com/ruby/ruby_object_oriented.htm > [3] > http://manwithcode.com/169/programming-with-ruby-episode-10-objects-and-modules/ > > -- > http://www.patchspace.co.uk/ > http://www.linkedin.com/in/ashmoran > > -- > You received this message because you are subscribed to the Google Groups > "NWRUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/nwrug-members. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "NWRUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nwrug-members. For more options, visit https://groups.google.com/groups/opt_out.
