3 ms·
The use case is someone wanted to name a symbol that way. What’s wrong with that?
by gumby 6y ago
The use case is someone wanted to name a symbol that way. What’s wrong with that?
- grugagag 6y agoNothing wrong, was just wondering in case I missed something, in most languages by convention variables and functions cannot start with a number. I'm learning lisp and ran into this at some point just had the chance to ask someone experienced why.
- deleted 6y ago[deleted]
- timonoko 6y agoI had floating point implemented like that in Nokolisp. If the item contains anything except number characters, it is a symbol. Stupid, but very transparent eventually, because modified arithmetic operators test if a symbol can be interpreted as a floating point number.