From: Pit Capitain Date: 2006-09-16T20:54:24+09:00 Subject: Re: Ruby keywords vs methods Chris Roos schrieb: > Ok, so this is being pedantic, but that doesn't appear to work if you > have two separate files, each defining Foo#foo, both being required by > another script. Works for me with Ruby 1.8.4 (2005-12-24) [i386-mswin32] on Windows 2000. > Although I am interested in solutions to this 'problem', I'd still > love feedback on the decision of adding keywords to the language. I cannot answer that. I too think that having less keywords increases the flexibility of a language, but there could be other drawbacks, for example concerning performance or syntax changes, I don't know. Maybe you can get an answer from Matz about this. Another way to solve your original problem would be to add more hooks to the Ruby interpreter. > Maybe I should break that to another thread with a better subject (any > suggestions)? For me the subject is OK, I just wanted to answer the one detail question about warnings upon method redefinitions. Regards, Pit