Re:A Brief Interview with Common Lisp Creator Dr. Scott Fahlman
by headhasthoughts on Saturday November 12, 2022 @06:47PM
(#33578425)
Reading this, it feels like you have never touched Common Lisp.
It's not a functional programming language. It's an object-oriented imperative language.
Re:A Brief Interview with Common Lisp Creator Dr. Scott Fahlman
by ashok-syd on Saturday November 12, 2022 @08:36PM
(#33579057)
Common Lisp is multi-paradigm and can be written to write functional code. It is the direct descendant of LISP which was the first functional language after all. Yes, Scheme and the like are more functional but CL is still far more functional than most other languages.
Imperative relates to coding style - I can equally write imperative or recursive code in Java.
Re:A Brief Interview with Common Lisp Creator Dr. Scott Fahlman
by lispm on Sunday November 13, 2022 @04:29AM
(#33581466)
> It's an object-oriented imperative language.
add functional, add meta-programming.
The Common Lisp object-system does not use the more imperative message-sending / virtual method calling. It favors "generic functions of related methods" instead - thus this is kind of an integration of function-centric programming into the traditional view of OOP where methods belong to classes.
Ultimately what happened to Java was the same thing that would have happened to any other dominant language that the industry uses to build heavy duty enterprise software: stuff like ORM frameworks, data transfer objects, servlet containers, some kind of web integration like JSP, RPC frameworks, SOAP, REST, etc.
Would it be easier or better to do that stuff in Lisp? Maybe. But not by a huge amount. The beauty of the language would certainly end up being obscured by the boring, complex, practical work that we would all be doing with it. And most programmers would not be better than they are now -- instead they would force an imperative model on top of whatever substrate they are given, just like they do today.