Python vs. Perl According to Yoda

I did some search on the Google today, and landed on this funny piece of geek humour:

This has been percolating in the back of my mind for a while. It's a scene from The Empire Strikes Back reinterpreted to serve a valuable moral lesson for aspiring programmers.


Dagobah -- Day

With Yoda strapped to his back, Luke climbs up one of the many thick vines that grow in the swamp until he reaches the Dagobah statistics lab. Panting heavily, he continues his exercises -- grepping, installing new packages, logging in as root, and writing replacements for two-year-old shell scripts in Python.


Code! Yes. A programmer's strength flows from code maintainability. But beware of Perl. Terse syntax... more than one way to do it... default variables. The dark side of code maintainability are they. Easily they flow, quick to join you when code you write. If once you start down the dark path, forever will it dominate your destiny, consume you it will.


Is Perl better than Python?


No... no... no. Quicker, easier, more seductive.


But how will I know why Python is better than Perl?


You will know. When your code you try to read six months from now.

I was a Perl programmer 3 years ago, and I had been seduced by the power of the darkside 5 years before that... But thankfully I have repented and am now using light side of the force...