From: Gennady Bystritsky Date: 2006-06-06T23:32:25+09:00 Subject: Re: Ruby and the Open-Closed Principle > -----Original Message----- > From: Pat Maddox [mailto:pergesu@gmail.com] > Sent: Monday, June 05, 2006 10:49 PM > To: ruby-talk ML > Subject: Re: Ruby and the Open-Closed Principle > > I think Ruby has an important message for the programmer: > "You know what you want/need better than I do." > > Personally, I'm not not sure that the 20.minutes.ago type of extension > is a judicious use of Ruby's power. It is certainly very convenient > though, and so far I haven't seen it get in the way of anything. > > We write programs, and the language helps us do that. It shouldn't > get in our way. Features like opening classes exist, in my mind, > because at times they are the best solution for a given problem. It > is up to the programmer to use them wisely though. > > I hate when languages put a condom on my code. What does it make your code, then? ;-) > > Pat > >