[erlang-questions] Erlang 3000?
Kevin Scaldeferri
kevin@REDACTED
Sun Nov 16 03:18:31 CET 2008
On Nov 15, 2008, at 4:07 PM, Zvi wrote:
> One of the problem, that Erlang is dynamicaly-typed language, and
> module
> writer use whatever atoms s/he want (i.e ok, done, ping, pong, pang,
> error,
> etc.), when in statically-typed language you return boolean, with
> only two
> known values.
>
> Anyway, you can see here the difference between languages, which
> require
> some discipline and those which don't. It very hard, to write
> libraries like
> this in Java or C++ (but very easy in Perl or other scripting
> languages).
Quite honestly, I would say that the situation is worse in Erlang than
most dynamically typed languages, because of:
a) the existence of symbols,
b) the lack of a canonical undef or nil object, and
c) to a lesser degree, the strangeness of the if statement
-kevin
More information about the erlang-questions
mailing list