From: James Edward Gray II Date: 2009-12-22T23:32:36+09:00 Subject: Re: Symbols vs. constants? On Dec 22, 2009, at 12:01 AM, Marnen Laibow-Koser wrote: > 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. I hear this quite a bit but have only ever been shown one example I agree with, based on a new 1.9 warning. Do you have an example you could share? James Edward Gray II