3 ms·
A standard practice in Common Lisp distinguishes special variables by "earmuffs": the symbol names of special variables, by convention, start and end with aster
by pfdietz 4y ago
A standard practice in Common Lisp distinguishes special variables by "earmuffs": the symbol names of special variables, by convention, start and end with asterisks. No requirement for this exists in the language definition, but just about everyone follows it.
It would be really annoying to have the same sort of de facto requirement for function names. Making the programmer use funcall or apply when calling a function value is much less intrusive, especially since CL idiomatically doesn't have the tail call fetish that Scheme seems to have.
- _emacsomancer_ 4y agoThat's to distinguish global variables though.
- pfdietz 4y agoCommon Lisp doesn't have "global variables", it has "special variables", which are subtly different.