News for hackers. Stuff that matters.
Re:Ante: A low-level functional language by layer8 on Friday June 17, 2022 @03:29PM (#31783123)
Natural language isn’t precise and a lot is inferred from context. Exact order does often not really matter. In formal languages, however, you want to be as unambiguous and exact as possible, so it makes sense to use syntax and symbols to emphasize when elements differ in kind.

Incidentally, that’s also why we use syntax highlighting. One could, of course, use syntax highlighting instead of symbols to indicate the difference between function and arguments (between operation and operands), but that would interfere with the use of syntax highlighting for token categories (e.g. for literals of different types).

Re:Ante: A low-level functional language by agumonkey on Friday June 17, 2022 @04:00PM (#31783497)
We also alternate between various positions in programming languages, so it's not a matter of formal precision.
Re:Ante: A low-level functional language by layer8 on Friday June 17, 2022 @04:49PM (#31784171)
Not sure what you mean by “alternate between various positions”.
Re:Ante: A low-level functional language by agumonkey on Friday June 17, 2022 @09:14PM (#31786461)
Prefix for function, infix in expressions, and postfix if you use forth