4 ms·
> Going from Perl to Python in my case largely felt like trying to a run a marathon in chains. I find that not surprising. Python is geared a specific type of
by bhaak 9y ago
> Going from Perl to Python in my case largely felt like trying to a run a marathon in chains.
I find that not surprising. Python is geared a specific type of programmers. If Perl fits your programming, you will feel constrained by Python.
Me personally, I never liked Perl that much. IMO it's not a programming language but a write-only brain dump.
But Ruby is to me what Perl is to others. It's combining the power and expressiveness of Perl with a consistent OO model like Smalltalk and with a sane syntax.
- vidarh 9y agoRuby syntax is really quite insane. It's just that the insanity is contained in dark corners that most of us thankfully rarely have to deal with. Consider for example that this is the literal string "x": '% x '. So is % + linefeed + x + linefeed, because for most characters the character after a prefix '%' will be the quote character of a quoted string. And that includes whitespace. There's all kinds of crazy little bits like that littered around Ruby. It's still my favorite language, but it is also totally infuriating sometimes.
- kamaal 9y agoIndentation in itself never helps readability that much. Unless of course you are hiring programmers so bad, who can't do things as basic a thing as indenting code. And I seriously doubt such programmers will automatically transform to geniuses just by using Python. Apart from that I haven't seen any thing in Python that makes code more readable.