Re:Ask HN: Why Did Python Win?
by fuzztester on Tuesday August 29, 2023 @11:42PM
(#37317408)
>Ruby's block, procedure and lambda design is a stroke of genius
Hardly. Not only was it nothing great, it had many variations, making it harder to remember.
Still, I preferred and prefer Ruby. Python has fantastic libraries, but it is a mediocre language. Ruby feels like a simpler version of Perl + Smalltalk, and it is a joy to use. Python has intentionally crippled anonymous functions plus syntactic whitespace, which often leads to long and ugly code.
I think it is a shame Guido hated functional programming and he did not embrace an Algol-like syntax with begin/do end blocks. Those two things could have vastly improved Python. Ruby's block, procedure and lambda design is a stroke of genius that yields beautiful code and makes DSLs trivial.