top | item 10637062

Efene: an Erlang VM language that embraces the Zen of Python

35 points| pyotrgalois | 10 years ago |medium.com | reply

15 comments

order
[+] armitron|10 years ago|reply
Zen of Python? This is funny.

Python is a terribly structured language, full of atrocities like unicode handling, decorators/metaclasses, object system, crippled lambda, braindead "functional" style, idiotic module system (hot code updates yay! oh no it doesn't really work!)

It started out as a Christmas hack and it hasn't really evolved much from then on. The same crap in the core, just more sugar on top. A language aimed at the lowest common denominator, designed to make you think "programming is easy!" but ill-suited to solving any sort of hard problem in a graceful fashion.

Why would anyone want _any_ of that on the Erlang VM?

[+] badwolf93|10 years ago|reply
you are so wrong that's not funny
[+] badwolf93|10 years ago|reply
I'm not a erlang expert but the use of the case statement is not considered a bad practice? or was the if clause instead? and it seems to me that all is kind of glued inside some sort of a try/catch defensive programming style that the really zen of erlang is completely against.

Personally I don't see the need of use every tool in the same way, there is nothing wrong with the erlang syntax.

[+] biokoda|10 years ago|reply
> I'm not a erlang expert but the use of the case statement is not considered a bad practice?

Only by people who see the world as black and white. There is absolutely nothing wrong with case.

[+] arthursilva|10 years ago|reply
I don't want to be that guy, but annotations at the end of the line, seriously?

All the @public at the end of the function headers really hurt the eye.

I think there's a reason 90%+ of the languages has either it above the declaration of at the beginning of the line.

[+] wcummings|10 years ago|reply
Why does everyone keep trying to replace Erlang's syntax? The syntax pretty closely reflects the feature set, unless you're significantly expanding that why bother, you're only going make it worse.
[+] phamilton|10 years ago|reply
If "everyone" includes Elixir, I'd argue otherwise. While syntax is a part of Elixir, them much bigger deal is the addition of Macros and Protocols. I'd also weakly suggest that while the pipe operator is just syntax, it changes idiomatic usage drastically.
[+] k__|10 years ago|reply
Get rid of the ends and I'm sold. Otherwise it's elixir all over again...