Leo Lipelis
Posts: 111
Nickname: aeoo
Registered: Apr, 2006
|
|
Re: The Myth of Paradigms and TMTOWTDI
|
Posted: Sep 12, 2006 5:44 PM
|
|
Christopher,
"why aren't true multi-paradigm languages like Scala and OCaml more popular?"
I believe the answer is much simpler than it seems. I don't know about Scala, but I don't use OCaml because it has wacky syntax and because it doesn't have rich libraries included with it. In other words, it lacks the "batteries included" aspect of Java and Python. Even with Ruby it is sometimes hard to find a library that's above version 0.2.
When you just want to do some work, the last thing you want is to mess around with unmaintained or poorly maintained bindings.
Also, I wouldn't want to use a language where every assignment looks like this:
a :==:::===!@#$@ 5 when I should just type a = 5
Even a := 5, while semi-acceptable, is too much.
I also don't like typing __self. in Python.
It's really small things like that, plus lack of "batteries included", that stops people like me from using the language.
Ever since Java came out the bar has been raised in terms of what we expect from the language. I want it all to be in the box: GUI, DB access, security, date/calendaring logic, collections, everything. I don't want to be digging around the entire net for these things.
Even Python sucks in this respect. It comes with TKinter for GUI. That's horrible. You have to hunt around for Python bindings for wxWidgets or some such to have a pretty GUI. That's really a big stumbling block. Another question is, how easy it is to use for web programming? Is there mod_ocaml? Is it a huge headache to set up (like setting up rails was a huge headache the last time I tried... sure once it's all setup properly, it's easy to use).
I think it's not the theoretical aspects that stop languages from being adopted, but rather, pragmatical ones, like price (free is best), "batteries included" aspect, easy to read and type syntax, and so on. If after installing OCaml my library hunt was over for 99% of my projects, yea, I'd consider it seriously.
|
|