4 ms·
I can only agree that Common Lisp is in many ways a much better language than JavaScript. But JavaScript is much more popular and it has evolved into a lisp dir
by galaxyLogic 9y ago
I can only agree that Common Lisp is in many ways a much better language than JavaScript. But JavaScript is much more popular and it has evolved into a lisp direction, EcmaScript 6 has "arrow functions" which are basically lambdas.
One question, you say "CL is very strongly typed". Then you also say "Optional type checks". Are you saying CL is optionally very strongly typed?
- flavio81 9y ago>One question, you say "CL is very strongly typed". Then you also say "Optional type checks". Are you saying CL is optionally very strongly typed? Note that I wrote "optional static type checks". CL is always strongly typed. A character array, for example, stays as a character array. It can't be used directly in place of a byte array, for example. But what it allows, optionally, are type declarations. These, in implementations like SBCL, allow compile-time ("static") type checking. The declarations also allow big enhancements in code speed, because this produces code that is specific to a data type (you can always see the compiled assembly code for a lisp function by using the "disassemble" function)
- galaxyLogic 9y agoI see