2 ms·
Some operator precedences are way more reasonable than others, and those between arithmetic operators are good examples. What we actually need is a partial orde
by lifthrasiir 3y ago
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.