4 ms·
Lisps aren’t necessarily functional, but don’t need semicolons either.
by hajile 7mo ago
Lisps aren’t necessarily functional, but don’t need semicolons either.
- II2II 7mo agoThe syntax of languages like Lisp and Forth are so fundamentally different that they don't need an explicit statement separator. You don't have to think about many other things either, or I should say you don't have to think about them in the same way. Consider how much simpler the order of operations is in those languages.
- wvenable 7mo agoLisp has explicit "statement" terminators (just aren't semicolons)
- hajile 7mo agoAll the lisps I know of have only expressions (no statements).