Twitter Updates

    follow me on Twitter

    Friday, June 19, 2009

    Perl and Python: Warhammer 40,000: Dawn of War analogy

    • Perl: The Orks. There's More Than One Way To Do Something. Insanely buffed infantry and head-scratching kludged-together technology salvaged from shell-scripting, awk, C and sed. An extremely idiomatic tribe. There're the Sluggas, the Shootas, the Stormboyz, the Tankbustaz and what have you in one swarm of green. And they don't get along well together.
    • Python: The Imperial Guard. The one obvious way of doing things. Heavy Artillery built on the workhorse Guardsman-Commissar-Grenade Launchers (i.e. tuples, lists).
    • I'll write about Lisp once I try it out. I'll probably parallel it to the Eldars
    Even in practice. Perl is fine for small projects and scripts, while Python manages to perform for greater projects despite its awfully slow interpretation. (Think Guardsmen in early game.)

    No comments: