Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> First, "functional" isn't an advantage.. I mean, the advantage of functional code might be easier maintenance, concise code, easier to concurrence etc..

Those are all good reasons why functional programming is an advantage. I guess you object to my grouping of all these under the "functional" umbrella term.

> In my opinion, the advantage of clojure by comparing it with Ruby are: - You get the best of Java (lots of library, OO)

I mention this as well, but that's not really an advantage over Ruby. JRuby gives you access to all the Java libraries you want.



What I meant is that functional in this situation is a bit vague.

Clojure Dude (talking to ruby dude): Hey, you should try clojure.

Ruby Dude: What is clojure ?

Clojure Dude: Oh, clojure is a lisp/functional language. You should really give it a try.

Ruby Dude: Why?

Clojure Dude: Its main advantage is that it's functional.

Ruby Dude: Wow, you convince me. I'm switching!




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

Search: