|
Re: how to stop the subclass from overriding a method.: msg#02389ruby-talk
On Fri, Jul 31, 2009 at 7:59 AM, Venkat Akkineni<venkatram.akkineni@xxxxxxxxx> wrote: > >> It will certainly work but you'll end up with Java written >> with Ruby syntax. > > This was playing in the back of my head. But makes more sense when > detailed from another person's perspective. A sensible argument one > would expect from purists. > > Hence I have given up trying perfect my java -> ruby > translation skills. The focus now is on how to implement the classes > better in ruby using the language features. This is a good move, and the right thing to do. Some things just don't transfer between languages. An analogy might be a native French speaker learning English trying to hang on to the idea that adjectives need to agree in gender with the nouns they modify, or an English speaker learning French insisting that the adjectives almost always go before the noun, rather than the other way around. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |