At 10:56 AM 8/24/00 -0600, Tom Christiansen wrote: > >Also, > >they further complicate statements and they are counter-intuitive for > >beginners - why should I change the case of variables if I only want > >to compare them? > >Again, I reach the contrary conclusion: they say exactly what they >are doing, rendering them clear and obvious to all involved. By >your argument, one should not have to say > > abs($a) == abs($b) > >either, but should invent a sign-insensitive equality comparison >instead of knowing how to use the extant == operator and abs function. While I don't know that I'd argue in favor of this feature request, your argument against misses the mark here. It's saying, essentially, that the difference between "P" and "p" is the same as the difference between -1 and 1. That, as they say, turns out not to be the case. The upper and lower-case versions of letters in many languages are essentially equivalent and it's reasonable to want them to be treated the same way when that's appropriate. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk
- RFC 143 (v1) Case ignoring eq and cmp operators Perl6 RFC Librarian
- Re: RFC 143 (v1) Case ignoring eq and cmp operato... Jarkko Hietaniemi
- Re: RFC 143 (v1) Case ignoring eq and cmp operato... Kevin Walker
- Re: RFC 143 (v1) Case ignoring eq and cmp ope... Nathan Torkington
- Upscope (was Re: RFC 143) John Porter
- Re: RFC 143 (v1) Case ignoring eq and cmp... Bryan C . Warnock
- Re: RFC 143 (v1) Case ignoring eq and cmp... David L. Nicol
- Re: RFC 143 (v1) Case ignoring eq and... Nathan Torkington
- Re: RFC 143 (v1) Case ignoring eq and cmp operato... Tom Christiansen
- Re: RFC 143 (v1) Case ignoring eq and cmp ope... Dan Sugalski
- Re: RFC 143 (v1) Case ignoring eq and cmp... Tom Christiansen
- Re: RFC 143 (v1) Case ignoring eq and... Dan Sugalski
- Re: RFC 143 (v1) Case ignoring e... Nathan Torkington
- Re: RFC 143 (v1) Case ignoring eq and cmp ope... Jarkko Hietaniemi
- Re: RFC 143 (v1) Case ignoring eq and cmp... Glenn Linderman
- infix functions David L. Nicol
- Re: RFC 143 (v1) Case ignoring eq and cmp ope... Markus Peter
- Re: RFC 143 (v1) Case ignoring eq and cmp... Tom Christiansen
- Re: RFC 143 (v1) Case ignoring eq and cmp... John Porter
- Re: RFC 143 (v1) Case ignoring eq and... Mark Cogan