in reply to Will/Can Perl 6 clean up the bit-wise operator precedence mess?
It is part of Perl's philosophy that Perl is based upon C. When one reads Camel 2 (the version Merlyn co-wrote) one sees that adopting C's precedence rules was a deliberate decision in order to enhance Perl's C-ishness. Merlyn, LW and Tom Christiansen wrote in the 2nd chapter:
Note that any operators borrowed from C keep the same precedence relationship with each other, even where C's precedence is slightly screwy. (This makes learning Perl easier for C folks.)It also makes learning C easier for Perl folks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Will/Can Perl 6 clean up the bit-wise operator precedence mess?
by Vynce (Friar) on Jun 03, 2001 at 01:27 UTC | |
by davorg (Chancellor) on Jun 04, 2001 at 19:46 UTC | |
by tilly (Archbishop) on Jun 04, 2001 at 21:48 UTC | |
by John M. Dlugosz (Monsignor) on Jun 04, 2001 at 19:44 UTC |