# If programming languages were religions

**URL:** <https://boards.straightdope.com/t/if-programming-languages-were-religions/478574>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [December 24, 2008, 5:56pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574 "2008-12-24T17:56:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anne\_Neville](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Anne\_Neville](https://boards.straightdope.com/u/Anne_Neville)\
**Post date:** [December 24, 2008, 5:56pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/1 "2008-12-24T17:56:36Z")

</div>

[If programming languages were religions](http://www.aegisub.net/2008/12/if-programming-languages-were-religions.html).

By this list, my current job has me doing Voodoo and Satanism… :eek:

Anyone want to add some languages to this list? I’d especially like it if someone came up for something for [IDL](http://en.wikipedia.org/wiki/IDL_(programming_language)) that I could use to tease Mr. Neville about.

---

<div class="post-metadata">

**Author:** ![Bosstone](https://avatars.discourse-cdn.com/v4/letter/b/22d042/32.png) [@Bosstone](https://boards.straightdope.com/u/Bosstone)\
**Post date:** [December 24, 2008, 6:06pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/2 "2008-12-24T18:06:26Z")

</div>

Perl is incomprehensible? When I took Programming for Linguistics, we trained in Perl precisely because it was easy to understand and worked well with regex.

Also, [the world was created with Lisp and Perl](http://xkcd.com/224/).

---

<div class="post-metadata">

**Author:** ![Napier](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Napier](https://boards.straightdope.com/u/Napier)\
**Post date:** [December 24, 2008, 6:59pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/3 "2008-12-24T18:59:16Z")

</div>

Once upon a time they invented an incredibly powerful computer, many orders of magnitude better than anything that had gone before. They turned it on, and asked it whether it would be possible for it to tell them the meaning of existence.

It got kinda warm for the longest time, and then came back with its reply. “Yes, I can explain the meaning of existence, though it will be very difficult. In fact it will be quite an effort. And I will have to invent Mathematica first.”

---

<div class="post-metadata">

**Author:** ![Invisible\_Chimp](https://avatars.discourse-cdn.com/v4/letter/i/f05b48/32.png) [@Invisible\_Chimp](https://boards.straightdope.com/u/Invisible_Chimp)\
**Post date:** [December 24, 2008, 7:13pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/4 "2008-12-24T19:13:02Z")

</div>

BASIC would Zoroastrianism, an extinct language that is the basis of many that followed.

---

<div class="post-metadata">

**Author:** ![Illuminatiprimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/illuminatiprimus/32/11520_2.png) [@Illuminatiprimus](https://boards.straightdope.com/u/Illuminatiprimus)\
**Post date:** [December 24, 2008, 8:38pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/5 "2008-12-24T20:38:58Z")

</div>

I agree on your definition better than the link’s, **Ataraxy**. I’m a Satanist and I know how to use BASIC, and I can’t see any conceivable connection between the two.

---

<div class="post-metadata">

**Author:** ![Anne\_Neville](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Anne\_Neville](https://boards.straightdope.com/u/Anne_Neville)\
**Post date:** [December 24, 2008, 8:42pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/6 "2008-12-24T20:42:07Z")

</div>

> [@Illuminatiprimus](#):
>
> I agree on your definition better than the link’s, **Ataraxy**. I’m a Satanist and I know how to use BASIC, and I can’t see any conceivable connection between the two.

It’s Visual Basic, not BASIC, that is Satanism. They’re not the same thing.

---

<div class="post-metadata">

**Author:** ![DudleyGarrett](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@DudleyGarrett](https://boards.straightdope.com/u/DudleyGarrett)\
**Post date:** [December 24, 2008, 8:44pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/7 "2008-12-24T20:44:52Z")

</div>

A co-worker says that Perl is a “write-only” language. Heh.

---

<div class="post-metadata">

**Author:** ![Superfluous\_Parentheses](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@Superfluous\_Parentheses](https://boards.straightdope.com/u/Superfluous_Parentheses)\
**Post date:** [December 24, 2008, 8:57pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/8 "2008-12-24T20:57:06Z")

</div>

> [@Bosstone](#):
>
> Perl is incomprehensible? When I took Programming for Linguistics, we trained in Perl precisely because it was easy to understand and worked well with regex.
> 
> Also, [the world was created with Lisp and Perl](http://xkcd.com/224/).

Perl isn’t incomprehensible, it’s just really hard to know thoroughly.

Perl really is a radical design by Larry Wall - who not incidentally is a linguist - as a compromise between traditional “C-like” programming languages and natural language. The end result (and I say this as someone who’s used perl for years, knows prettly much all of the ins and outs - and actually likes it) is a language that initially gives you a false sense of knowing what’s going on and then forces you to accept all kinds rigid but really quite hidden rules in order to build anything solid. It’s fine if you’re in a multi-year program to get to know the language, but it will probably suck if you’re using it to build a big system from scratch unless you’ve already messed with it for a couple of years.

as for the “write only language” comment - perl gives you quite a lot of freedom - more than most other languages. you can use it to make yourself perfectly clear, or you can make yourself incomprehensible. Just like natural languages do.

---

<div class="post-metadata">

**Author:** ![Sage\_Rat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sage_rat/32/399_2.png) [@Sage\_Rat](https://boards.straightdope.com/u/Sage_Rat)\
**Post date:** [December 24, 2008, 9:03pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/9 "2008-12-24T21:03:41Z")

</div>

Hah! I’d be a D programmer if I could.

---

<div class="post-metadata">

**Author:** ![Illuminatiprimus](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/illuminatiprimus/32/11520_2.png) [@Illuminatiprimus](https://boards.straightdope.com/u/Illuminatiprimus)\
**Post date:** [December 24, 2008, 9:05pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/10 "2008-12-24T21:05:00Z")

</div>

> [@Anne\_Neville](#):
>
> It’s Visual Basic, not BASIC, that is Satanism. They’re not the same thing.

Okay… so why is Visual Basic like Satanism?

---

<div class="post-metadata">

**Author:** ![Anne\_Neville](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Anne\_Neville](https://boards.straightdope.com/u/Anne_Neville)\
**Post date:** [December 24, 2008, 9:18pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/11 "2008-12-24T21:18:10Z")

</div>

> [@Illuminatiprimus](#):
>
> Okay… so why is Visual Basic like Satanism?

It’s certainly driving me insane. In the New Testament, demons did that to people.

It’s also owned by a company that many people see as evil and trying to take over the world.

---

<div class="post-metadata">

**Author:** ![Sampiro](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@Sampiro](https://boards.straightdope.com/u/Sampiro)\
**Post date:** [December 24, 2008, 9:23pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/12 "2008-12-24T21:23:36Z")

</div>

This reminds me of Umberto Eco’s 1994 analysis of[the religion of PCs and Macs](http://www.columbia.edu/~sss31/rainbow/mac-pc.html).

---

<div class="post-metadata">

**Author:** ![Angua](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Angua](https://boards.straightdope.com/u/Angua)\
**Post date:** [December 24, 2008, 9:49pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/13 "2008-12-24T21:49:08Z")

</div>

> [@Anne\_Neville](#):
>
> Anyone want to add some languages to this list? I’d especially like it if someone came up for something for [IDL](http://en.wikipedia.org/wiki/IDL_(programming_language)) that I could use to tease Mr. Neville about.

I’d argue that IDL was Satanism, but you do have to sell your soul… 😉

---

<div class="post-metadata">

**Author:** ![Anne\_Neville](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Anne\_Neville](https://boards.straightdope.com/u/Anne_Neville)\
**Post date:** [December 24, 2008, 9:52pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/14 "2008-12-24T21:52:23Z")

</div>

> [@Angua](#):
>
> I’d argue that IDL was Satanism, but you do have to sell your soul… 😉

That would make some sense- he does everything in IDL, and won’t consider that any other language might be better for some tasks…

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [December 24, 2008, 10:20pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/15 "2008-12-24T22:20:09Z")

</div>

> [@Superfluous\_Parentheses](#):
>
> as for the “write only language” comment - perl gives you quite a lot of freedom - more than most other languages. you can use it to make yourself perfectly clear, or you can make yourself incomprehensible. Just like natural languages do.

```auto

sub foo {for(@_){print 
   chr 
     ((my $e 
           = $_)
               ->[0]
                    );
                for(1,2) 
           { foo(
$e->[$_]) if $e->[$_];
        

} } } foo( [73, [84, 
[39]], [83,                  
[32], [84, 
[65 , [75, 
[ 73 , [78, 
[71] ],[32]]
] , [76, 
[79, [ 78,[71, 
[69 , [82]]]], 
[32 , [84,[             
72 , [65, 
[78] ] ] ]  
] ] , [32, 
[87, [69, [32, [84] ] ] 

], [72, [79, [85, [71, [72, 
[84] ] ] ] ] ] ] ] ] ] ] ]);

```

---

<div class="post-metadata">

**Author:** ![Angua](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Angua](https://boards.straightdope.com/u/Angua)\
**Post date:** [December 24, 2008, 11:47pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/16 "2008-12-24T23:47:54Z")

</div>

> [@Anne\_Neville](#):
>
> That would make some sense- he does everything in IDL, and won’t consider that any other language might be better for some tasks…

Sounds like quite a lot of astronomers I know… Its a cult!

---

<div class="post-metadata">

**Author:** ![Robot\_Arm](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/robot_arm/32/18280_2.png) [@Robot\_Arm](https://boards.straightdope.com/u/Robot_Arm)\
**Post date:** [December 25, 2008, 12:13am UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/17 "2008-12-25T00:13:25Z")

</div>

INTERCAL \<-\> Snake Handling

---

<div class="post-metadata">

**Author:** ![Sunspace](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sunspace/32/1250_2.png) [@Sunspace](https://boards.straightdope.com/u/Sunspace)\
**Post date:** [December 25, 2008, 12:54am UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/18 "2008-12-25T00:54:12Z")

</div>

And [G](http://en.wikipedia.org/wiki/LabVIEW) would be… what?

---

<div class="post-metadata">

**Author:** ![Sunspace](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sunspace/32/1250_2.png) [@Sunspace](https://boards.straightdope.com/u/Sunspace)\
**Post date:** [December 25, 2008, 12:55am UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/19 "2008-12-25T00:55:43Z")

</div>

> [@Ataraxy](#):
>
> BASIC would Zoroastrianism, an extinct language that is the basis of many that followed.

Actually, I know a couple of Zoroastrians.

---

<div class="post-metadata">

**Author:** ![Anne\_Neville](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Anne\_Neville](https://boards.straightdope.com/u/Anne_Neville)\
**Post date:** [December 26, 2008, 1:46pm UTC](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574/20 "2008-12-26T13:46:18Z")

</div>

> [@Angua](#):
>
> Sounds like quite a lot of astronomers I know… Its a cult!

Maybe IDL could be the Moonies?

_d&r_

[Next page](https://boards.straightdope.com/t/if-programming-languages-were-religions/478574.md?page=2)
