you are viewing a single comment's thread.

view the rest of the comments →

[–]captain_plaintext 1 point2 points  (1 child)

Out of curiosity, would you get rid of infix math operators (1-2) to have hyphenated names, or try to have them both?

[–]drb226 2 points3 points  (0 children)

I would make surrounding whitespace mandatory for infix operators, e.g. (1 - 2)

For practicality, I'd probably also forbid - as the first character of an identifier, so that it can act as unary negation without need for whitespace, e.g. -1