Hacker News new | past | comments | ask | show | jobs | submit login

Infix works for binary operators at the cost of requiring operator precedence. Hence the parens you wrote.

Prefix works for variadic operators like the +, - and / in your example, without operator precedence rules to get wrong. And if one can't reliably remember how those rules differ between languages so people wrap everything in parens anyway, what exactly did you gain from rejecting prefix?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: