さり海馬

Thoughts walk away, blog stays.

もしもプログラミング言語が宗教だったら…

古いけど面白い記事があったので簡単に訳してみた。誤訳あったらごめんね。

Monday, December 15, 2008
If programming languages were religions...
By amz at 14:52

もしプログラミング言語が宗教だったら…

And now, for some off-topic:

"If programming languages were religions"
(Inspired by "If programming languages were cars")

C would be Judaism - it's old and restrictive, but most of the world is familiar with its laws and respects them. The catch is, you can't convert into it - you're either into it from the start, or you will think that it's insanity. Also, when things go wrong, many people are willing to blame the problems of the world on it.

C言語ユダヤ教だろう。古くて戒律も厳しいが、世界の大半でその法は知られ、尊重されている。問題は、他の宗教から改宗できないことだ。最初から入信しているのでなければ、気が狂ってるとしか思えない。あと、何かおかしなことが起こったときに、世界中からお前らのせいだと責められることになる。

Java would be Fundamentalist Christianity - it's theoretically based on C, but it voids so many of the old laws that it doesn't feel like the original at all. Instead, it adds its own set of rigid rules, which its followers believe to be far superior to the original. Not only are they certain that it's the best language in the world, but they're willing to burn those who disagree at the stake.

Java原理主義キリスト教だろう。理論上は C言語をベースとしているのだが、古い法の多くを無効にしてしまってオリジナルとは思えないようなものになってしまった。その代わりに、信奉者たちがオリジナルよりもはるかに優れていると信じている、融通の利かない自前のルールを付け加えた。彼らはこれが世界最高の言語だと確信しているばかりか、反対する奴らをまとめて火あぶりにすることさえ躊躇わない。

PHP would be Cafeteria Christianity - Fights with Java for the web market. It draws a few concepts from C and Java, but only those that it really likes. Maybe it's not as coherent as other languages, but at least it leaves you with much more freedom and ostensibly keeps the core idea of the whole thing. Also, the whole concept of "goto hell" was abandoned.

PHP は穏健派のキリスト教だろう。ウェブ市場を巡って Java と争っている。C と Java の両方からいくつかのコンセプトを流用しているが、自分たちにとって本当にいいと思えるものだけを選んでいる。他の言語ほどはコヒーレントではないかも知れないが、多くの自由が残されているし、名目上は全体の核となる概念を押さえている。あと、"Goto hell" の概念は全部廃棄されている。

C++ would be Islam - It takes C and not only keeps all its laws, but adds a very complex new set of laws on top of it. It's so versatile that it can be used to be the foundation of anything, from great atrocities to beautiful works of art. Its followers are convinced that it is the ultimate universal language, and may be angered by those who disagree. Also, if you insult it or its founder, you'll probably be threatened with death by more radical followers.

C++イスラム教だろう。C を採用してその法を維持しているだけでなく、その上にさらに複雑な新しい法のセットを乗っけている。あまりにも用途が広いために、恐ろしい残虐行為から美しい芸術作品まで、ありとあらゆるものの基礎になりうる。信奉者はこの言語が究極の万能言語だと確信していて、それに反対する人々に怒りを向けるかもしれない。また、言語やその考案者を侮辱すると、さらに過激な信者たちから生命の危険を感じるほどの脅しを受けることになるかもしれない。

C# would be Mormonism - At first glance, it's the same as Java, but at a closer look you realize that it's controlled by a single corporation (which many Java followers believe to be evil), and that many theological concepts are quite different. You suspect that it'd probably be nice, if only all the followers of Java wouldn't discriminate so much against you for following it.

C#モルモン教だろう。一見すると Java と同じに見えるが、よく見てみるとたった一つの( Java 信奉者の多くが邪悪とみなしている)とある企業の支配下にある言語だと分かるし、理論的なコンセプトの多くが大きく食い違っている。ただ、ありとあらゆるJava 信者がこの言語の信奉者たちをこれほどひどく罵ることさえなかったら、ひょっとしてこの言語はそれほどひどくないのかも知れない、と思うかも。

Lisp would be Zen Buddhism - There is no syntax, there is no centralization of dogma, there are no deities to worship. The entire universe is there at your reach - if only you are enlightened enough to grasp it. Some say that it's not a language at all; others say that it's the only language that makes sense.

Lisp は仏教の禅宗だろう。文法はなく、中心的教義もなく、祀るべき神々もいない。それを掴むのに十分なだけ蒙を啓かれてさえいれば、宇宙全体にだって手が届く。これは言語ではないという者たちもいるし、道理にかなった唯一の言語だと言うものもいる。

Haskell would be Taoism - It is so different from other languages that many people don't understand how can anyone use it to produce anything useful. Its followers believe that it's the true path to wisdom, but that wisdom is beyond the grasp of most mortals.

Haskell道教だろう。この言語は他の言語と大きく違っていて、多くの人々が理解できず、有益なものを生み出す方法も知らない。信奉者たちはこれこそが智慧へと通じる唯一無二の道だと信じているが、定命の者の多くはその智慧を理解できない。

Erlang would be Hinduism - It's another strange language that doesn't look like it could be used for anything, but unlike most other modern languages, it's built around the concept of multiple simultaneous deities.

Erlangヒンズー教だろう。何にも使い道がなさそうに見えるもう一つの言語だが、他のモダン言語とは異なり、同期した複数の神々という概念に基づいて作られている。

Perl would be Voodoo - An incomprehensible series of arcane incantations that involve the blood of goats and permanently corrupt your soul. Often used when your boss requires you to do an urgent task at 21:00 on friday night.

Perlブードゥー教だろう。ヤギの血と理解不能な神秘的詠唱の連続が永遠に魂を穢れさせる。金曜の夜21時までに緊急の仕事をやれとボスに言われたときによく使われる。

Lua would be Wicca - A pantheistic language that can easily be adapted for different cultures and locations. Its code is very liberal, and allows for the use of techniques that might be described as magical by those used to more traditional languages. It has a strong connection to the moon.

Lua はウィッカ(魔女術)だろう。さまざまな文化や土地に簡単に溶け込む汎神論的言語だ。そのコードはとても進歩的(リベラル)で、伝統的な言語を用いる人々からは魔術と言われるようなテクニックを使うことができる。

Ruby would be Neo-Paganism - A mixture of different languages and ideas that was beaten together into something that might be identified as a language. Its adherents are growing fast, and although most people look at them suspiciously, they are mostly well-meaning people with no intention of harming anyone.

Ruby はネオ・ペイガニズムだろう。さまざまな言語と概念を混ぜ合わせて、言語と見える形に捏ね上げたものだ。急速に信奉者の数を獲得しており、たいていの人々から疑いのまなざしを向けられてはいるものの、彼らのほとんどは他者を傷つけようなどという意図を持たない善意の人々である。

Python would be Humanism: It's simple, unrestrictive, and all you need to follow it is common sense. Many of the followers claim to feel relieved from all the burden imposed by other languages, and that they have rediscovered the joy of programming. There are some who say that it is a form of pseudo-code.

Pythonヒューマニズムだろう。簡潔で制限もゆるく、必要なのは常識だけだ。信奉者の多くは他の言語で課されられていた重荷から解放された気分になり、プログラミングの喜びを再発見したと言っている。この言語を疑似コードの類だと言う人もいる。

COBOL would be Ancient Paganism - There was once a time when it ruled over a vast region and was important, but nowadays it's almost dead, for the good of us all. Although many were scarred by the rituals demanded by its deities, there are some who insist on keeping it alive even today.

COBOL は古代ペイガニズムだろう。過去には広大な版図を支配していた時代があり、重要な存在であったが、我々皆のために、今では死んだも同然だ。その神々が求める儀式によって多くの人々が深く傷つけられたが、今もその神々は生き続けていると主張する人々も残っている。

APL would be Scientology - There are many people who claim to follow it, but you've always suspected that it's a huge and elaborate prank that got out of control.

APL はサイエントロジーだろう。信奉しているという人は大勢いるが、単に手の込んだ悪ふざけが制御不能になっただけの代物なのではないかといつも疑われている。

LOLCODE would be Pastafarianism - An esoteric, Internet-born belief that nobody really takes seriously, despite all the efforts to develop and spread it.

LOLCODE は「空飛ぶスパゲッティモンスター教」だろう。インターネット生まれの深遠なる信仰で、改善と布教ののための努力が積み重ねられてきているにも関わらず、誰からも本気にされない。

Visual Basic would be Satanism - Except that you don't REALLY need to sell your soul to be a Satanist...

Visual Basic は悪魔信仰だろう。違いは本当に悪魔に魂を売り渡さないだけ…。

たしかに Visual Basic はなぁ…。