3 ms·
You're right in a sense, but I strongly disagree. The trick is to write readable code, and Python encourages that at every step. The Python mantra is "don't b
by bmelton 15y ago
You're right in a sense, but I strongly disagree.
The trick is to write readable code, and Python encourages that at every step. The Python mantra is "don't be clever". Compared to Ruby, where developers routinely vie for the most clever way to do something that may or may not (and usually isn't) in the interest of readability.
Also, the significant whitespace enforces the readability of Python vs. something like Perl, which is a very information-dense and, in the opinion of myself and many others, a substantially less readable language.
Either way, for my money, having used both languages extensively, Python proves to be more readable over the long haul. YMMV.