News for hackers. Stuff that matters.
Re:We need to talk about parentheses by lifthrasiir on Monday February 12, 2024 @06:46AM (#39343820)
Some operator precedences are way more reasonable than others, and those between arithmetic operators are good examples. What we actually need is a partial order of operator precedences: you can have `1 * 2 + 3` or `full_name ?? first_name ++ " " ++ last_name` but not necessarily `1 * 2 & 3` because that combination of operators is uncommon and a parenthesis should be preferred instead of an arbitrary total order.

There are no comments on this comment yet.