Re:Dennis Ritchie on the priorities of && || vs. == etc. (1982)
by Jenk on Saturday January 06, 2024 @08:44AM
(#38891344)
SmallTalk has the left-to-right for everything principle because everything is message passing and "operators" are just binary (as in two argument) messages which catches many out.
will return 5, while many would expect -3. You must apply parentheses if you want a precedence other than ltr.
[ Parent
| on HN ]
There are no comments on this comment yet.