Python vs. Perl

neozbiljnopython

Najprije sam naletio na duhovitu usporedbu različitih Python web okruženja naslovljenu: Python based Web Frameworks. Zanimalo me tko je autor. Na spartanskoj, ali oku ugodnoj stranici odmah mi je za oko zapeo jedan link: Python vs Perl. Priloženi igrokaz zaslužuje da ga ovdje objavim u cijelosti...


EXTERIOR: 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.

YODA: 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.
LUKE: Is Perl better than Python?
YODA: No... no... no. Quicker, easier, more seductive.
LUKE: But how will I know why Python is better than Perl?
YODA: You will know. When your code you try to read six months from now.

--- written by: funkster@midwinter.com

Izgleda da je sila jaka u Ištvanovoj porodici jer svi programiraju u Pythonu. ;-)



Komentari

25. srpnja 2006. 21:09

mene si zezat naso, hah. kaze Nevow - "Inside Out" is the Future?

In the typical workflow one prepares data then renders it in some fashion, hoping to avoid any further processing of the data in the rendering stage. As far as I could tell Nevow's main innovation lies in the fact that it is the template that makes calls to code that in turn can also modify the template. Maybe we could call it: Turning the template "inside out".

evo, tak i ja radim.

25. srpnja 2006. 21:28

Tek sam poslije vidio da ti u komentaru pominješ Perl pa sam odmah pomislio kako bi mogao pomisliti da je to zbog tebe. Nije, danas sam naletio na to.

A danas (ili je to bilo jučer?) sam prvi put naletio na (onaj .com link ne radi) i zaokupio je moju pažnju, samo nisam ga imao vremena detaljno pogledati.

8. kolovoza 2006. 11:09

Komparacija nekud nestade...

8. kolovoza 2006. 12:15

Hm...nisam je spremio niti u Clipmarks niti u Notebook. Ostaje ti da pišeš Ištvanu. ;-)