From: Marnen Laibow-Koser Date: 2009-12-22T15:01:02+09:00 Subject: Re: Symbols vs. constants? James Edward Gray II wrote: > On Dec 21, 2009, at 7:38 PM, Gennady Bystritsky wrote: > >> For me any warning produced by my code must be fixed, and in this case the fix would be to check that constants are assigned only once. > > You are a hero. I wish all Ruby library developers could hear your > wisdom. I don't. There are certain contexts where warnings are generated even though the code is fine. I'm not going to waste time fixing otherwise well-written code because someone decided that a warning should be generated. Warnings are just that: warnings -- not errors. Sure, 99% of the time it's better to avoid the warning, but I'm not going to worry too much about the other 1%. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.