Why I like Python more than Perl
My attempts to write a general 'why I like Python' entry to answer a recent comment have floundered completely. However, part of the answer is in the reasons why I like Python more than Perl, and I came up with a summary of that back when I started programming in Python (and still had a copy of it, once I could find it).
The three problems I have with Perl that Python deals with are:
- an unstructured namespace, which means that any time I want to do something I get to hunt through a listing of six zillion routines, most of them irrelevant.
- limited data structures unless I get a chainsaw and do pointers (I get 'scalars' and 'containers of scalars' and after that have to resort to more or less explicit use of references).
- a profusion of namespaces, with confusing operators and distinctions and passing them around and rules for doing things with them and and and.
(Disclaimer: tastes differ. I don't expect everyone to have my reactions to Perl, and there are certainly appealing aspects of Perl (including CPAN).)
|
|