8 Oct
2012
8 Oct
'12
3:02 p.m.
On Tue, Oct 9, 2012 at 6:44 AM, Mike Graham
There are no cases where
if x is "foo":
is actually the code someone intended to write.
Are literals guaranteed to be interned? If so, this code would make sense, if the programmer knows that x is itself an interned string. Although I guess a warning wouldn't be a problem there, as they're easily ignored/suppressed. ChrisA