A blurb I just wrote about Clojure.

Clojure is a language that employs a simple syntax to manipulate data types and structures that are as far from the constraints and limitation of the computer hardware as possible. The simplicity of the syntax allows rich and complex data manipulations to be accomplished with very little code — vastly increasing programmer productivity over languages that employ an elaborate syntax to manipulate data that hews close to the machine architecture. For any problem in which the richness and complexity of the data manipulations outweighs the possible efficiencies of adherence to physical hardware, it is difficult to imagine a better and more productive language than Clojure.

Reply to this note

Please Login to reply.

Discussion

If its a language designed for the JVM, its going to be a nonstarter for most people if only out of principal

>From: Brunswick<-Vishalxl at 03/30/23 08:36:33 on wss://relay.damus.io

>---------------

>If its a language designed for the JVM, its going to be a nonstarter for most people if only out of principal

It runs on jvm. It also runs on JS. Abstraction.

I think there's a CLR version out there somewhere too.

>From: (a185d80...) at 03/30/23 10:26:59 on wss://relay.damus.io

>---------------

>It runs on jvm. It also runs on JS. Abstraction.

Yes, but the languages are not identical among the three platforms.

https://github.com/clojure/clojure-clr

I don't know how compatible the CLR version is with the others. I suspect that it is close. However, the Java and JavaScript versions are so close that it is very easy to write code that runs on both.

As an example of code that runs on both Java and JavaScript see: github.com/unclebob/spacewar and click on the http://spacewar.fikesfarm.com/spacewar.html link.

>From: 43ddb32...<-natha... at 03/30/23 16:15:23 on wss://relay.damus.io

>---------------

>Yes, but the languages are not identical among the three platforms.

>

>https://github.com/clojure/clojure-clr

I am really interested in learning Clojure, and yet I feel like the syntax is the worst obstacle. It's hard to believe in what you're saying there, but I suppose it will make sense once I become a Clojure expert in 10 years.

Syntax is just the most visible part, I guess that's why it feels like the worst obstacle. I believe it is actually the easiest part. You could probably get used to it in a month or so, not 10 years.

I find #clojure to be very similar to #scheme which I learnt on my first job as an engineer.

Looked at the code of more-speech yesterday and it brought me sweet memories of those Dr.Scheme days

Clojure is certainly in the same family as Scheme; but has a slightly richer syntax and a much richer library and foundation.

>From: (facdaf1...) at 04/02/23 00:27:40 on wss://relay.damus.io

>---------------

>I find #clojure to be very similar to #scheme which I learnt on my first job as an engineer.

>

>Looked at the code of more-speech yesterday and it brought me sweet memories of those Dr.Scheme days

But Clojure and Scheme are both Lisp-1 Lisps, so they have that good decision in common.