|
|
|
|
|
by greenkey
2018 days ago
|
|
> That said, Common Lisp is weird. What I find particularly jarring is that functions and variables live in different namespaces: if you put a function into a variable, you can’t just use it like a function, you have to funcall it. Unless I’m misunderstanding, the author sounds like a developer that’s primarily used JS. It’s really not abnormal to have to include parens after a method name in a language, which indicating that you are calling a function. |
|
That's not what he means. Assuming some pseudocode with a more common syntax to prune the parentheses question, Common lisp is doing this:
Whereas Scheme is doing this: This is the fundamental difference between so-called Lisp-1 and Lisp-2 families, depending on whether functions and variable share the same namespace or if they have to be “lifted” from one to another through funcall.