Should I Learn Lisp Before Clojure?

preview_player
Показать описание
Should I learn Lisp before Clojure?

There are people who think Clojure is replacing Lisp.

Clojure is often condemned as slow, though. Lisp is efficient.

It is also heaven for those who love ellipses and parenthesis. And Lisp has been around forever.

I thought that was about 50 years.

Ten years is forever on the internet, and Lisp predates the internet.

I read that Clojure was an update of Lisp.

Its disadvantage is its newness. It needs to mature a little.

What? Another year until it is taken seriously?

Common Lisp is embedded in IT because of things like ANSI Common Lisp as an IT standard.

Lisp in some ways is more flexible than Clojure, treating data and functions the same, while letting you build your own programming language.

In some ways, learning Clojure would be better than learning Lisp. Clojure is a lot more disciplined than Lisp, maybe picking that up from Haskell.

Is Clojure more practical than Haskell?

Oh, very much so. Clojure is an active language that runs on JVM.

JVM is golden, assuming you can use it to access their libraries.

Yes, which is where Clojure is better than Lisp. And then there is the fact that you can extend the code as data system beyond lists to vectors and maps.

That's a map to heaven for true IT nerds.

Whereas Common Lisp doesn't officially agree to get along with Java or JVM.

Do you think Clojure would replace Common Lisp?

They are rivals, to be sure. But I don't think Clojure will become the official Common Lisp replacement.

Why not? I thought Clojure made programmers more efficient.

So does Ruby on Rails, but that doesn't mean it makes good code. You can make good time on the highway because you're going the wrong direction.

Which language should I learn?

Learn Clojure first. You can study Lisp later, whether to upgrade someone's code to Clojure or as a history lesson.
Рекомендации по теме
Комментарии
Автор

The amount of incorrect stuff here is just... wow. Lisp isn't a language, it's a collection of multiple languages(called dialects). Same way that C, C++ and Objective-C  is all part of the C-family, so are all the LISP languages part of the same families(there are multiple criterias for what makes a language a LISP language).

Clojure is one of the newer(if not newest) LISP dialect. It is however in no way a replacement of Common Lisp,   Common Lisp's main advantage is the macro system(which is allot weaker in all other dialects, including Clojure and depending on the compiler, it's performance(SBCL for instance have faster performance then C++ and C in certain areas(especially in List and Array management)).

"clojure is run on the JVM and so have access to it's libraries" - While this is partly true(certain libraries are harder to access then others), There are also 2 Common Lisp compilers on the JVM with the same ability. There might also be a scheme compiler, but I haven't checked since I don't really use scheme.

Vectors and maps exist in Common Lisp and are used often, same with OOP(allot more sofisticated then java, C# and C++).

Clojure isn't a rival to LISP, as it is LISP(an LISP dialect), just as Scheme, Rocket etc Isn't a rival to LISP either, as they are all dialects. It's easier to move from a lisp dialect to another, then to move from a C language to another.

SknCommonLisper
Автор

More youtube spam...and as you could guess this is massively inaccurate too

CBaggers
join shbcf.ru