by owyn · 6y ago · 0 comments
https://abcl.org/svn/tags/1.6.0/CHANGES
As an "old" I learned LISP in college but have never had the opportunity to use it in my career. Still on my todo list!
(defun foo (x)
(declare (type fixnum x))
(1- x))
If you don't specify them, types all default to T.Lisp is like a wood and metal shop. It may take a little more time to become proficient with the basic tools, but once you do, anything is possible. You don't hear Lisp programmers complain they can't do X with Y, and you don't hear builders complain they don't have the right piece to attach X to Y. If you don't have one sitting around, you take a few minutes and make one.
For a little more money they serve the furniture to your house and ensemble it.
When I make my own language, I'll make sure to make macro calls as clumsy and hideous as possible to discourage their unexpanded use. I'll also make the whole language available at compile time but without syntax manipulation (a la Zig) to make most macros unnecessary.
So no, Lisp is far from "the language to end all languages" or whatever it is you smug Lithp weenies imagine it to be.
[0] https://www.teamten.com/lawrence/writings/the_language_squin...
> I claim that this squint test is important, and that languages should deliberately make different constructs look different.
For your example, you just happened to pick a programming language you already know well. If this is a beneficial goal, why pick that particular point on the spectrum? Java and Lisp aren't the only games in town. It would be a remarkable coincidence if the language you already know were the optimal point.
COBOL's constructs look even more distinct from each other. A COBOL programmer probably thinks your Java methods all look the same despite having completely different calling conventions. After all, COBOL was definitely designed for "us good ole' humans".
Sounds like Rust beat you to it.