• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clojure reminds me of OCaml

 
Greenhorn
Posts: 5
MyEclipse IDE Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The functional programming aspect of Clojure reminds me of OCaml. In my first computer science class they had us do OCaml before Java, and I remember recursion was a huge topic, and it looks like Clojure allows us to do the kind of efficient recursion we need for sorting algorithms, mathematical programming and the like. I personally haven't see Clojure until today, and it looks like something I will pick up again considering how useful I think functional programming is.
 
author
Posts: 20
Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Absolutely!

A lot of people are using Clojure because of its functional programming style; coupled with the fact that all of Clojure's core data-structures are immutable, and it has a very efficient implementation of STM (software transactional memory) that allows for (correct!) lock-less multi-threaded programming. This is fantastic news for multi-core processors (all modern hardware have multiple cores, and this trend will keep going).

In short, Clojure's functional paradigm and concurrency support is itself a huge win. Couple that with the fact that it runs on the JVM, and that it is a modern LISP, it is no surprise that it is seeing remarkable adoption across many domains.
reply
    Bookmark Topic Watch Topic
  • New Topic