On Wed, Oct 30, 2002 at 06:45:52PM +0200, Markus Laire wrote:

> You are making the fundamental mistake of thinking superpositions as 
> superpositions. When thinking them as another-kind-of or/and, their 
> usefulness comes a lot clearer.

> perl5: if $x > 0 && $x < 20 && $y > 0 && $y < 20 && $z > 0 && $z < 20
> perl6: if 0 < $x & $y & $z < 20

I find that really quite confusing written like that. but like this

   if 0 < ($x & $y & $z) < 20

it makes more sense to me. What's the precedence?

Although as regular user of numerical bitops in C, I find it visually jarring
that & isn't what it means in C, C++, perl and most other current languages.

Nicholas Clark
-- 
Brainfuck better than perl?     http://www.perl.org/advocacy/spoofathon/

Reply via email to