Oh, it's easy
Posted Feb 9, 2008 10:31 UTC (Sat) by
khim (subscriber, #9252)
In reply to:
Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News) by nicku
Parent article:
Interview: Mark "Markey" Kretschmann (Not the Gentoo Weekly News)
Can you give a few details explaining why the Perl language is inherently the antichrist?
Oh, it's easy, but it's not in any details. Design details can not make the language "antichrist" - no matter how ugly. It's design principle that is evil: the infamous "There is more than one way to do it".
Why it's evil ? It's easy: if you are writing something to "use and forget" then "there is more than one way to do it" is good principle: I like that in most GUI programs you can use menus, shortcuts, sometimes mouse gestures and so on. You choose your own style and can forget about other approaches.
Programming languages are different. They use constructs to write text. Poems, essays, novels. The fact that there are happy accident (computer can read and execute them) is irrelevant. The main consumer is the next programmer, not computer. Computer is your secretary, stenographer, not consumer. And in this case "there is more than one way to do it" is disaster: every programmer should learn approaches of all other programmers or else he or she can not understand the code. You can try to create lingua franca this way: just combine English, Spanish, Mandarin, Arabic, Hindi, Bengali, Portuguese, Russian, Japanese, German and two dozen other languages and allow the speaker to choose. Is this the way to greatness ? Not at all: you'll just make the combined language unusable. But this is exactly what the Perl does! More: it's not an accident but design philosophy! Gosh.
I have nothing against having two or three ways to something - little variety helps in a lot of cases. But to raise disparity and ambiguity to the rank of design philosophy ? Ugh. That's "antichrist".
(
Log in to post comments)