Hacker News new | past | comments | ask | show | jobs | submit login
Clojure 1.2 Beta (clojure.org)
101 points by francoisdevlin on July 14, 2010 | hide | past | favorite | 24 comments




I'm extremely excited about "case". It's the one thing I missed the most from Haskell & Scala.


C'mon, (condp = ...) was not that bad :)


condp was rough for me. It requires too much shifting around of the pieces to figure out what it was doing.


I don't believe there is very much gain in code clarity here.

The core benefit of case over condp is efficiency. The condp is linear (goes over each clause until one matches) and case builds a very efficient dispatch function during compile time. This is why case only takes compile-time constant expressions.


Same day as scala 2.8.0 final

http://www.scala-lang.org/node/7009


That is cool also! For a long time I was experimenting a lot with both Clojure and Scala, but then I took a gig with a Clojure shop earlier this year. Scala is still on my short list of languages I would use for my own projects (as is Racket Scheme, BTW).


Just curious, as you seem to imply that Clojure is no longer on that list. If this is the case, why not?


No, I like Clojure - but as a platform, it needs some time to get everything right. I think some patience is required, let the Clojure platform developers keep up their very good work.


Same day as CouchDB 1.0, too.

Mailing list announcement: http://mail-archives.apache.org/mod_mbox/couchdb-user/201007... Fun announcement: http://couch.io/

I'm using Clojure and CouchDB together, so it's kind of neat seeing all this happen on the same day!


Yeah, except Clojure is more awesome :-p


Sorry about that, I'm not usually a thread hijacker.

Q: is the plan to have point releases (1.2.1) to roll up e.g. stuff from prim, num, equal branches?


I'm pretty sure that's something planned for 1.3


Clojure has never really had a point release before, so who knows.


Congrats to the team! My favorite language just keeps getting better.


Aren't just about everyone already running 1.2 head? Just asking.


It's nice to be able to get off snapshots is the main thing. I don't want a stable version of Leiningen 1.2 depending on some random Clojure snapshot. Plus now the primitives work can get merged to master.


I recommend using 1.2 head. Even if you are learning clojure I'd recommend 1.2 head. With clojure, unlike most other languages, using head is relatively easy, it's stable and faster and it has more features. Pretty much a win from most perspectives.

As soon as put a minimum amount of effort into researching or learning clojure you'll likely switch anyways. I think I switch after about five hours.


Yes, many are running 1.2. This indicates that 1.2 is nearing completion.


I wonder if someone wants to port the type checker of Typed Racket over to Clojure?


The type checker would have to play nice with java types. Does the racket type checker support inheritance and interfaces/protocols?


FRTime first please!


Uh. Once again the time to find out how to setup Clojure + Slime + swank clojure + clojure-mode this time.

It's not that I didn't love the language, it's just that the installation is a PITA and generally not something I'd look forward to.


If you have gotten it working I have yet to find a decent walk through that works for 1.2 and would love some help getting things set up myself. I had hoped I could just use old-fashioned inferior-lisp with slime and clojure.main but that isn't working for me now either.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: