4 ms·
But even then, you have only shrunk the language for you - unless you can get everyone else to use your new feature. But if several such things are proposed, t
by AnimalMuppet 11y ago
But even then, you have only shrunk the language for you - unless you can get everyone else to use your new feature. But if several such things are proposed, typically none of them gains traction, and so they all stay as just individual solutions.
Which is still fine - for the individuals who write them. But the language, as generally used, does not shrink.
- lisper 11y agoObviously anyone who chooses not to use a particular macro will not reap the benefits that macro provides. That doesn't change the fact that it's possible to write language-shrinking macros in Common Lisp, and so it's ironic to choose Common Lisp as the poster child for how languages inevitably grow without bound once they reach a certain level of complexity.
- kazinator 11y agoIndeed. Lisp is a poster child for how you can have one standard put out in 1994, and everything is reasonably fine 21 years later. I really respect that about Common Lisp: the committee had the good sense (lacking in C and C++ and their ilk) of going their separate ways when they got the job done. Good sense in a way that is related to good taste, I should add.
- deleted 11y ago[deleted]
- brudgers 11y agoThe way Common Lisp is generally used is by writing macros that shrink the language at higher levels. It's used that way because it can be. Whether one considers the lack of such capability in other languages a handicap or feature doesn't change that it is common Common Lisp practice. There aren't Common Lisp shops that don't use macros since Common Lisp includes standard macros.
- mapcars 11y ago>unless you can get everyone else to use your new feature. When you are writing functions, classes you are extending language in similar way, and everyone else have to use this extension. You just not used to macros and your opinion is based only on your habits.