Thoughts on Clojure
programmingzen.com
Thoughts on Clojure
1–10 of 43 posts
Re: Thoughts on Clojure
#2Re: Thoughts on Clojure
#3Re: Thoughts on Clojure
#4For the inevitable "Where do I start" questions, read this previous comment: http://news.ycombinator.com/item?id=1033503
http://mmcgrana.github.com/2010/03/clojure-web-development-r...
Just install leiningen, whip out your favorite text editor, and you don't have to worry about downloading/installing clojure, libraries and deps.
Re: Thoughts on Clojure
#5I don't find these to be really good advantages.. First, "functional" isn't an advantage.. I mean, the advantage of functional code might be easier maintenance, concise code, easier to concurrence etc.. but "functional" isn't an advantage. It's like saying C++ is better than ruby because it is imperative or OO.. "Why is imperative or OO better?", that's the interesting part.
In my opinion, the advantage of clojure by comparing it with Ruby are:
- You get the best of Java (lots of library, OO) - You get the best of Lisp (macro, high level function)
Re: Thoughts on Clojure
#6In the middle of the article, the author talks about three advantages that clojure has over ruby. Simply put, speed, easy concurrence and functional. I don't find these to be really good advantages.. First, "functional" isn't an advantage.. I mean, the advantage of functional code might be easier maintenance, concise code, easier to concurrence etc.. but "functional" isn't an advantage. It's like saying C++ is better…
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.
Re: Thoughts on Clojure
#7In the middle of the article, the author talks about three advantages that clojure has over ruby. Simply put, speed, easy concurrence and functional. I don't find these to be really good advantages.. First, "functional" isn't an advantage.. I mean, the advantage of functional code might be easier maintenance, concise code, easier to concurrence etc.. but "functional" isn't an advantage. It's like saying C++ is better…
Re: Thoughts on Clojure
#8In the middle of the article, the author talks about three advantages that clojure has over ruby. Simply put, speed, easy concurrence and functional. I don't find these to be really good advantages.. First, "functional" isn't an advantage.. I mean, the advantage of functional code might be easier maintenance, concise code, easier to concurrence etc.. but "functional" isn't an advantage. It's like saying C++ is better…
For a certain (large) class of programs, being "functional" is an advantage. Interestingly, you made the point that being functional means easier maintenance etc., but fail to attribute those advantages to being functional. If your argument is that there can be bad functional code which performs worse than non-functional (imperative or OO) code, I don't disagree. However, in the multicore future that our semiconducto…
Re: Thoughts on Clojure
#9For the inevitable "Where do I start" questions, read this previous comment: http://news.ycombinator.com/item?id=1033503
... and an example of web development in Clojure: http://mmcgrana.github.com/2010/03/clojure-web-development-r... Just install leiningen, whip out your favorite text editor, and you don't have to worry about downloading/installing clojure, libraries and deps.
Re: Thoughts on Clojure
#10Earlier quoted context omitted.
For a certain (large) class of programs, being "functional" is an advantage. Interestingly, you made the point that being functional means easier maintenance etc., but fail to attribute those advantages to being functional. If your argument is that there can be bad functional code which performs worse than non-functional (imperative or OO) code, I don't disagree. However, in the multicore future that our semiconducto…
I don't think you should claim "demonstrable" and "future" in the same sentence. "Theoretical" or even "promising", perhaps. The most performance intensive problems in the world, when they have competition, are very much still solved in C and C++.
To your second point, I made no claims that C and C++ are not used to solve performance intensive problems. I'm sure C and C++ (or Assembly, for that matter) can be applied to solve any number of problems, if that's one's calling.