Erlang much?
Posted May 2, 2007 11:14 UTC (Wed) by
NAR (subscriber, #1313)
In reply to:
Erlang much? by qu1j0t3
Parent article:
The Rise of Functional Languages (Linux Journal)
Erlang is indeed functional, but I'm afraid its functional features are more like nuisances than strong points. The fact that you don't have destructive updates leads to variable names like HR0, HR1, etc. to hold the value after an update (at one place I even saw HR7). Of course, all data that would be in objects in Java are stored in processes, mnesia or ets tables where there is destructive update. The dynamic type system leads to lots of type errors during development. Actually I'm pretty surprised that it works, the VM underneath Erlang is really good (huge number of processes can be run, object files can be changed on the fly) - but I think it has not much to do with the language being functional.
Bye,NAR
(
Log in to post comments)