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?
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.
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.
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.
[+] [-] armitron|10 years ago|reply
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?
[+] [-] homarp|10 years ago|reply
the Christmas joke starts from: http://python-history.blogspot.com/2009/01/brief-timeline-of... and https://www.python.org/doc/essays/foreword/
[+] [-] badwolf93|10 years ago|reply
[+] [-] badwolf93|10 years ago|reply
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
Only by people who see the world as black and white. There is absolutely nothing wrong with case.
[+] [-] arthursilva|10 years ago|reply
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
[+] [-] phamilton|10 years ago|reply
[+] [-] k__|10 years ago|reply
[+] [-] unknown|10 years ago|reply
[deleted]