Re:A modest proposal
by Houshalter on Saturday September 09, 2017 @05:50AM
(#15206305)
It's not infix math that's the problem, it's the ambiguity of "-". It can take two arguments in one context, or one in another (or just be a representation of a negative number without implying any function call at all.) If we just used a different symbol for subtraction, it would clear up a number of other parsing problems languages run into. Or you could just require negations to be done inside parentheses.
[ Parent
| on HN ]