Perl 6? Yeah, right.
Posted Sep 21, 2006 5:56 UTC (Thu) by moxfyre
Parent article: Perl 6? Yeah, right.
First of all: Chase, this was an awesome, awesome article. One of the greatest dev articles ever on LWN, I think. Really an excellent and clear summary of the mess that is Perl 6 :-)
I'm a long time Perl hacker, cut my teeth on CGI scripts then worked on a huge variety of text processing utilities at a speech synthesis software company.
But I got around to learning Python a few months ago, and I have to say I was really impressed. I think it's no wonder that developers have flocked from Perl to Python:
* Perl may still have an edge in terms of the sheer number and variety of CPAN modules, but Python is extremely versatile too. There's nothing I've needed to do in the past few months that didn't already have a Python module.
* Python emphasizes a very strong and specific "Pythonic" style, while with Perl it's TMTOWTDI. This makes it *way* easier for me to read someone else's code.
Above all, I find that with Python it's nearly as quick and easy to write a working program as in Perl, but Python makes it a lot harder to write a subtly incorrect program. Perl has a lot of auto-magical stuff and complicated syntax that can be a blessing, but often a curse, for developers and debuggers.
I've gravitated towards using Perl only for quick one-off scripts, and Python for everything else...
to post comments)