3 ms·
Btw., 'LISP' is now 'Lisp'. > Then we should relegate LISP to an academic programming language and stop pretending that it is a major player when all the data
by lispm 7y ago
Btw., 'LISP' is now 'Lisp'.
> Then we should relegate LISP to an academic programming language and stop pretending that it is a major player when all the data proves the contrary. LISP failed for half a century because it isn't the best tool for the job, not because we are just stupid and only the select few have the brains for it. It is not the case. It is just not good for the job at hand -> delivering solutions.
Nobody claims that it is a major player. My claim was that it was influential - not academic, but actually practically. People like Matz (Ruby) literally learned how to implement a programming language runtime by studying Lisp, in this case the Emacs Lisp runtime.
> I have used 80% of those programming languages you listed in a professional environment and I didn't require to learn LISP.
Nobody said it's required. It's just that when you knew Lisp, you would have already known about garbage collection, first class functions, virtual byte code machines, managed memory, etc. Nothing which is directly in C++.
> I have used 80% of those programming languages you listed in a professional environment and I didn't require to learn LISP. I didn't see any resemblence of LISP on any of them. To correct you, Java was heavily influenced by C/C++, not LISP. In such a way that my transition fron C++ to Java only took me few hours.
If you don't know Lisp, how would you know which influence it had on Java? C/C++ had directly no Garbage Collection, no managed memory, no runtime code loading (-> Java class loader), ... thus these things about the Java runtime were not coming from C/C++. You got the curly braces from C/C++.
Guy Steele, who co-wrote the Java language spec: 'We were not out to win over the Lisp programmers; we were after the C++ programmers. We managed to drag a lot of them about halfway to Lisp.'
And you even didn't notice it...
- madiathomas 7y agoCurly braces, for loops, while loops, if statements, case statements, variable declaration and initialisation etc. All those things were carbon copied from C/C++, not Lisp. The features you mentioned aren't part of the Java language, they are tools used by Java language. JVM isn't part of Java as a language, they are part of the Java platform. Most people confuse the language with the platform. JVM is a tool used by the language. Even Javac isn't part of Java. It is a tool used to compile Java [1]. I doubt any Java Programmer was dragged halfway to Lisp. If it was the case, we were going to see at least 10% of those Developers finishing the trip to Lisp but we didn't. That's why Lisp remains an obscure language used by 100 people on a good day. [1] http://sheikyerbouti.developpez.com/tmp/j2se5.gif http://sheikyerbouti.developpez.com/tmp/j2se5.gif
- lispm 7y ago> Curly braces, for loops, while loops, if statements, case statements, variable declaration and initialisation etc. All those things were carbon copied from C/C++, not Lisp. That's all minor stuff. But, even the very invention of conditional statements are originally from Lisp. http://www-formal.stanford.edu/jmc/recursive/node1.html http://www-formal.stanford.edu/jmc/recursive/node1.html John McCarthy proposed if/then/else and recursion to the Algol (the grandfather of C) community in 59. > JVM isn't part of Java as a language Historically there is no independent invention of the Java language. The Java language was developed together for and with the platform -> the JVM. Thus Java assumed on day one that it runs on a garbage collected platform. > I doubt any Java Programmer was dragged halfway to Lisp. There are a bunch of Java developers which struggle with Lisp-derived languages (like Clojure). > If it was the case, we were going to see at least 10% of those Developers finishing the trip to Lisp but we didn't. You didn't know where many of the features of the Java runtime come from or where they originated from. The originally first garbage collected language implementation was Lisp 1 in the end 50s. Here on Hackernews you can learn about it. Java (originally called oak) was explicitly designed to be garbage collected. The Java developers (Gosling) explicitly didn't want C++ like memory management. > That's why Lisp remains an obscure language used by 100 people on a good day. I have no idea where you get your numbers from.
- madiathomas 7y ago> You didn't know where many of the features of the Java runtime come from or where they originated from. You are making a mistake of talking about tools when we are discussing programming languages. I have seen most people make that mistake with .NET platform. Java programming language isn't Java platform. In fact, as a Lisper, you should know better to dissociate the tools from the platform because Lisp is so fragmentated. > Historically there is no independent invention of the Java language. J++ was a Microsoft independent implementation of Java programming language. Also Java used by Android is an independent implementation of Java programming language. It doesn't contain tools which are shown on the Java platform architecture diagram I pasted on my previous comment. GC isn't part of Lisp. Never was. Never will. It was invented as a tool to be used with Lisp. In fact, some Lisp dialects don't even have garbage collection. > I have no idea where you get your numbers from. I was exxagerating to emphasize my point.