3 ms·
x+y = 0 (with that specific syntax) will error in pretty much every language.
by traes 6y ago
x+y = 0 (with that specific syntax) will error in pretty much every language.
- TomMarius 6y agoSo we will refuse to allow symbols in identifiers after all?
- traes 6y agoThe only programming languages where arithmetic symbols are allowed identifiers have an identifier sigil (ala Perl, PHP), require whitespace around arithmetic (some teaching languages), or don't have conventional arithmetic syntax (e.g. Forth, Lisp).
- TomMarius 6y agoPlease read the comment I originally answered to.