Re: "0", true or false? (was: PERL6STORM #0052)

2000-10-02 Thread Nathan Wiger
"David L. Nicol" wrote: > > Bart Lateur wrote: > > > Bitwise and, or and xor do distinguish strings from numbers, and return > > entirely different kinds of results. Why can't anything else? > > Absolutely. There is such a thing as Too Much Convenience. I think > BOOL as a context or an acces

Re: "0", true or false? (was: PERL6STORM #0052)

2000-10-02 Thread David L. Nicol
Bart Lateur wrote: > Bitwise and, or and xor do distinguish strings from numbers, and return > entirely different kinds of results. Why can't anything else? Absolutely. There is such a thing as Too Much Convenience. I think BOOL as a context or an accessor method should be separate from STRING

"0", true or false? (was: PERL6STORM #0052)

2000-09-22 Thread Bart Lateur
On Thu, 21 Sep 2000 05:21:27 -0600, Tom Christiansen wrote: >=item perl6storm #0052 > >Make "0" (more?) true so that people don't get surprised. > >or > >Make "0.00" (more?) false so that people don't get surprised. Yup. This tripped me up, years ago, followed by a heated discussion on comp.