Name: alex 2013-04-11 14:15
I think it would be neat to have a language that allowed variable names like "MAX-CONNECTIONS". Most languages won't allow that because of the hyphen being the minus operator. If the language enforced whitespace between variables and operators (which I'm not sure I would like, even though I always include that whitespace), the compiler would be able to tell the difference between a variable "MAX-CONNECTIONS" and subtracting one variable from another "MAX - CONNECTIONS".
Would this just be too ambiguous or would you entertain the idea of a language that allowed this?
I don't know what it is, but I dislike underscores.
Would this just be too ambiguous or would you entertain the idea of a language that allowed this?
I don't know what it is, but I dislike underscores.