65 points · by twism · 16y ago · 46 comments
If you haven't, go read his slides from the "Are We There Yet?" talk http://wiki.jvmlangsummit.com/images/a/ab/HickeyJVMSummit200... (PDF) . It's worth a read, regardless of what programming language you like best.
Where everyone else (except for maybe the Haskell people) seems to be doing the same old grab bag design "oh that's a cool feature, oh, and that too", Rich has a clear idea of what programming should be, and he moves closer to that goal daily.
I think people overestimate the significance of choosing e.g. Ruby over Python or vice versa. C vs. Java is a legitimate choice, Java vs. Clojure is legitimate, Ruby vs. Python is not, IMO. I'd like to see an example of where choosing Ruby / Python / Perl is a momentous decision.
The only one I can think of is that a lot of people have an intense hatred for one of the three, so you've got to weigh your team's preferences to make sure you offend the fewest number of people.
Personally, I have a deep seated, all-consuming, perfectly irrational (though I'll happily invent reasons) loathing for Perl, and I just refuse to use it.
But Ruby or Python? Eh, close enough that I'm not going to complain either way...I'm sure you'll find plenty of Ruby zealots that wouldn't touch Python with a ten foot pole, though, and vice versa.
Languages that introduce characters for the sake of making a compiler happy make me, personally, unhappy. I have a really hard time being comfortable with (){}; all over the place. And it's taken me years to realize why - it slows me down. I don't see very well, and those little things cause me sometimes hours of pain.
So I'm a bit of a language snob. The more clean the syntax, the more I'm going to be drawn to it, and the more I'm gonna be productive in it.
In fact, it's why I like SASS more than LESS (for CSS).
So I guess I'm saying Ruby vs Python? Exactly. Meh. Ruby over Perl or C#? Any day of the week.
I agree here as well re: Ruby vs. Python vs. Perl. I've found that since I know Perl (have spent many years working on it, both professionally and on my own), I can fairly easily work on Python projects. Out of those three, my choices are generally going to be based on whether one has a better library than the other two (e.g., Python having a better ncurses library than Perl, Perl having an better XML parser interface). I've no personal preference between the languages themselves, as I feel when I program in them, I am not learning anything that I don't already know well. (Ruby being a slight exception with its Smalltalk-like features, co-routines, etc...).
It's pretty much the same way for me with C# vs. Java and C++: C# has language features which make it a more pleasant than the other two, but ultimately the choices come down to platform choices/library availability/project-specific limitations (e.g., I'll use C++ or C# for desktop applications, C/C++ for non-trivial UNIX command line utilities, Java for server side/distributed applications which make extensive use of threading; C# might be nice for that role as well, but having Windows in a datacenter can easily kill a project or a even company -- and Mono isn't quite "there" yet). Again, compared to each other, neither of these languages teaches me something the others won't, with a few notable exceptions (e.g., Java's interfaces taught me the pattern to use -- most of the time -- with C++'s multiple inheritance: inherit a single non-abstract, constructable class and multiple purely abstract classes).
Doug Hoyte called the concept "blub central": there's game theoretic disadvantages to the mainstream languages introducing new features (e.g., for the long time Java wasn't taken seriously in the mainstream due to being a garbage collected language; I'd imagine there was similar debate around closures being added to C#, but now Java will -- after much botching -- have them).
On the other hand Scala, Clojure, Haskell, OCaml, Scheme and Common Lisp each teach me new concepts that I haven't seen before. Even if I ultimately disagree with the languages' aims, I still find these languages worth learning: e.g., I tend to think that, ultimately, dynamically typed languages with optional type hints (e.g., Common Lisp, Clojure, Strongtalk) are preferable to statically typed languages, statically typed languages with well-designed type systems (Haskell, OCaml, Scala) are still very much worth learning.
This comment doesn't cite any firsthand experience, doesn't cite even any secondhand experience, and makes frequent generalizations and assumptions about where, how, and why respective languages are designed and used. It also makes the all-too-frequently-made, blithe, and baseless assumption that languages are necessarily in competition, or that if they are in competition, that competition is zero-sum. This is a bar conversation in comment form. It's hand-waving.
Look: comparing programming languages is hard. You can't do it in a blog comment. You can't really even do it in a blog post. Researchers have a hard time doing it in lengthy academic papers. Hardly anyone has attempted to do it in book form.
Don't think that someone summarizing the bullet points from the feature lists of two languages and then extrapolating them out over their particular view of the industry is anything other than opinion. If that opinion validates your choice of language, great; you'll sleep better tonight. But this is just talk. Experience and metrics are what counts.
My guess is that a lot of people read that comment and figured that it made sense and captured conventional wisdom in a succinct way.
As an aside, because language adoption has network effects, the fact that a lot of people can get interested and excited about Clojure is itself meaningful, which is why I upvoted it.
I think programmers tend to overestimate the importance of language choice in the success or failure of a development project. We can passionately debate the merits of static vs dynamic typing and various schools of syntax but I suspect that ultimately the skill and determination of the people involved make the crucial difference.
That said, I do think Clojure's prospects are better than any previous lisp, because even if it can't "win" it can tag along for the ride with the rest of the Java ecosystem and benefit from its much larger momentum.
To hear the more vocal Common Lispers tell it, even people that code Clojure are retarded code apes that need to be lectured on why they're stupid for not using a Real Lisp, more deserving of scorn than encouragement or support. Haskell's community is not nearly as bad (Common Lisp's userbase has become one of the most bitter, self-important cesspools of snobbery the programming world has ever seen, and Haskell is far too active and useful to foster such degeneracy), but there's always that pervasive scent of "If you're not already using Haskell, you're cheating, and it's clearly because you're dumber than I am."
Then again, the Haskell folks piss me off for other reasons - after studying such things in the context of real math, it's infuriating to be talked down to by people that just "got" monads and think that their shallow grasp of the concept entitles them to wield Genius Points over everyone else's heads. I suspect this is just a small but vocal sub-population in Haskell-land, but it's a really annoying one that seriously turns me off from the language...
http://lib.store.yahoo.net/lib/paulgraham/miles.txt
And was pretty roundly flamed for it. In any case, I totally agree that the community surrounding common lisp is utterly and irreparably toxic and that Rich is right to ignore it and to carefully cultivate a far more civil and friendly community around Clojure.
I don't know exactly what it is about functional programming that attracts people that can't tolerate different philosophies. Maybe the more Aspberger-prone coders naturally gravitate towards tools that promise to impose simple, elegant order on the inherently messy world of real-life programming.
You are absolutely right here. I am not sure what caused this to happen, but I have never seen a programming community that so actively discourages code reuse. Ask why two libraries don't work together, and the answer is usually, "you shouldn't be using libraries!"
Yeah. SBCL is a nice VM, but the community needs to die.
Then again, the Haskell folks piss me off for other reasons - after studying such things in the context of real math, it's infuriating to be talked down to by people that just "got" monads and think that their shallow grasp of the concept entitles them to wield Genius Points over everyone else's heads.
You're sort of doing the same thing, right? And in reality, the people that actually use Haskell are not like this. Don't let someone that read about Haskell on Reddit yesterday, opened ghci, and typed "let fibs = 1 : 1 : (zipWith (+) fibs $ tail fibs)" put you off. People like to be excited about things, and people that read too many programming blogs get themselves unnecessarily excited about simple things. Then when they sort of understand that simple thing, they feel the need to tell everyone.
The clojure community has the "omg monads!" problem too, but that structure isn't particularly useful in Clojure and that is obvious, so people aren't as excited about it. There is plenty of annoying Clojure fanboi-ing, though... but that is true of any language. (OK, there are no Cobol fanbois.)
Totally - my knowledge of Haskell is probably more superficial than most Haskell fans knowledge of category theory, so I'm in no position to fairly poke fun. Consider the jab retracted. :)
I think I'm just seething from a recent argument about Haskell's superiority where I was accused of not understanding the almighty Power Of The Monad...really, I just think that the necessary pervasiveness of the pattern indicates that the language is not as powerful as it could be (I raise an eyebrow when I see any pattern used very often anywhere), whereas fanboys sometimes take it as evidence that the language is beautiful - witness the number of Java programmers that think design patterns are proof of Java's perfection. I personally don't like it so much when languages make too many choices for me, and Haskell seems to have that same "protect us from ourselves" philosophy that makes Java so irritating to work with, just with a different enforced paradigm.
And in reality, the people that actually use Haskell are not like this. Don't let someone that read about Haskell on Reddit yesterday, opened ghci, and typed "let fibs = 1 : 1 : (zipWith (+) fibs $ tail fibs)" put you off. People like to be excited about things, and people that read too many programming blogs get themselves unnecessarily excited about simple things. Then when they sort of understand that simple thing, they feel the need to tell everyone.
Yeah, this is what I pretty much assume, that it's a vocal minority creating most of the noise. I should probably give it a fairer chance, given that a lot of people find it the perfect language for a lot of stuff.
Unfortunately at the moment, the only "stuff" I can afford to work on involves DOM manipulation, so it's Javascript or bust for the foreseeable future...
Probably. But you can sign me on as a Grace-Hopper-fanboy.
There's a lot of truth to this. C.l.l. is horrible and #lisp is often horrible. Sometimes my jaw drops at what assholes they are.
That being said, there are quite a few people using Lisp actively who are nice. The problem is that they (we? I hope) are scattered and relatively isolated. One glimmer of hope to me is that the community around Clozure Common Lisp is sane and functional. If there is to be another renaissance of Common Lisp, I wouldn't be surprised if it grew out of there.
What I find alarming in the CL community is something different: I feel that there is practically no innovation. It is magnificient but dying culture. The underlying idea is either that CL is a peak of perfectibility, or that the world has no more the force needed to change anything in CL anyway.
Like this guy? (http://www.bestinclass.dk/index.php/2009/10/python-vs-clojur...) . Seems like a vocal member of the Clojure community and is about the perfect example of a Clojure "douchewiener" (nice word!) that I can think of.
Some of the more vocal (and ignorant) members of the clohure community are ex ruby fanbois who jumped off the ruby/RoR bandwagon and moved their babbling proselytizing to Clojure. Yestrday it was all "ooooh mixins, shiny" or " ooooh Open classes shiny" and today it is all " oohh s expressions, shiny!". This is a shame, because Clojure is a nice language that deserves better. But otoh, the quiet and competent Rubyists are breathing easier now.
Of course, Rich Hickey and co don't do any unnecessary trumpeting or deprecation of other languages, but there is a lunatic fringe which combines loudness with ignorance in Clojure just as with Haskell (as you point out, correctly).
But neither the Haskell loudmouths nor the Clojure loudmouths are as toxic as the Common Lisp loudmouths, so things are relatively better in these languages and that is a good thing.
That said, I haven't noticed that much negativity in the Ruby community either, aside from on Zed Shaw's blog, so perhaps I'm just looking in the wrong places. (Or the right places, depending on one's point of view.)
However, its a known problem (discussed on the clojure group this week) that there are many ways to set up the environment and build tools.
Alternatively, take a look at the offerings of the haskell community -- including Real World Haskell.
Piling on the contradictory metaphors (is it a line or a spot?) is one thing. I'd really prefer to use a language without a sweat spot though.