On Thu, 21 Sep 2000, Tom Christiansen wrote:

> =item perl6storm #0050
> 
> Radical notion: consider removing precedence.
> Wrong precedence makes people miserable.

(Some people already suggest that Perl only has two precedence rules: (1)
multiplication and division come before addition and subtraction, and (2)
parenthesize everything else.)

This would make Perl more like Lisp, I suppose. But it would make code
less ambiguous, probaly at the cost of readability. Arguably, some (most?)
of the precedence levels already work the way people expect them to (for
example, == binds more tightly than || or &&), so fewer "cluttering"
parentheses are needed to make things readable while still being correct.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>

Reply via email to