kellysmith12.21
2021-2-23 00:12:57

I’m starting to think that infix operations should never be rewritten to a flat, variadic form. If a programmer wants to use, say, + in a variadic way, then they should probably should do that explicitly, instead of using infix notation. Infix notation is already quite the investment to learn, so I probably shouldn’t introduce anything new and unprecedented, which could cause a lot of confusion.


kellysmith12.21
2021-2-23 00:14:31

(By the way, the infix notation in my lang will be totally optional. The restrictions I’m enforcing should, hopefully, prevent the infix enthusiasts from confusing the sexpr-enthusiasts.)


kellysmith12.21
2021-2-23 00:15:02

(This is just part of my quest to get people who complain about the parens to shut up.)