3 ms·
Because one of the jobs is to communicate to the reader the code's purpose and method clearly. And in this respect, Python and Perl are leagues apart on making
by esbranson 12y ago
Because one of the jobs is to communicate to the reader the code's purpose and method clearly. And in this respect, Python and Perl are leagues apart on making this easy and natural for the author. Perl is widely known for being, commonly, overly cryptic, with no small part of the blame owing to the design of the language.
- singingfish 12y agoSee, more pointless perl bashing from a pythonista. Writing good perl is like writing good english, easy to learn the basics, tricky to learn (but aren't all programming languages), but can express good ideas fast and clearly. Python trades off the expressiveness for greater uniformity. Both languages have their (different) warts, but at the end of the day the by both do the same job and do it well. I'd probably recommend python for people who prioritise uniformity over expressiveness, and perl for those who want to try to realise their potential more. But at the end of the day they both do the same job and do it well.