Clojure?



  • This is in response to the posted news article. I haven't heard of Clojure before that. I looked it up and couldn't find a whole lot of useful insight. Could someone explain it better?

    Where would you use it vs other languages such as Python, Swift, PHP, Node, Go, etc...

    Why would you choose it to start a project? Why wouldn't you?

    What is it an alternative to? C++, PowerShell, Python, Node?

    Would it work for writing simple GUI apps on Windows?

    https://www.slant.co/versus/110/1538/~python_vs_clojure



  • @scottalanmiller might know more about it. He recently mentioned it.



  • @Obsolesce said in Clojure?:

    I haven't heard of Clojure before that. I looked it up and couldn't find a whole lot of useful insight. Could someone explain it better?

    Clojure is considered a leading high end language for serious developers. The high level view is that it is basically "CommonLisp" implemented on the Java run time. So you get all of the power of Java, its algorithms, libraries, and modules, but none of the Java language. So Clojure is pure functional, like LISP. Not object oriented, like Java.

    It's considered one of the most powerful and expressive (and hard) languages to use. But unlike most LISP variants, it has enough of an ecosystem that frameworks and modules are developed actively for it so you can use it in a practical way in the real world, unlike most LISP variants that tend to be more esoteric.

    This of it as the Java world's answer to F#.



  • Worth noting....

    Clojure is a true LISP, implemented on JVM.
    F# is not LISP, but OCaml variant, implemented on .NET.

    LISP and OCaml are both fully functional languages, but also very different. But Clojure and F# are the two prominent functional languages today, with Clojure being way out in the lead.


Log in to reply