Page 1 of 2

Some self humorous coding-love-hate!

Posted: Sat Jan 21, 2012 12:57 pm
by coffee

Re: Some self humorous coding-love-hate!

Posted: Sat Jan 21, 2012 1:33 pm
by Ellohir
Hilarious, thanks for sharing :awesome:

Re: Some self humorous coding-love-hate!

Posted: Sat Jan 21, 2012 5:56 pm
by gfreak
thanks man!
loled so hard

Re: Some self humorous coding-love-hate!

Posted: Sat Jan 21, 2012 7:24 pm
by TechnoCat
I enjoyed that video. :crazy:

Re: Some self humorous coding-love-hate!

Posted: Sun Jan 22, 2012 4:12 am
by NecroBumpist
lol, while I never use either of those languages, it was very humorous :3

Re: Some self humorous coding-love-hate!

Posted: Sun Jan 22, 2012 10:33 am
by nevon
Keeping with the theme, let's talk about Javascript.

Code: Select all

> typeof Nan
"number"
DNZMW.jpg
DNZMW.jpg (24.95 KiB) Viewed 533 times

Code: Select all

> Math.min() < Math.max()
false
pZGFa.jpg
pZGFa.jpg (90.86 KiB) Viewed 533 times

Re: Some self humorous coding-love-hate!

Posted: Sun Jan 22, 2012 10:38 am
by bartbes
nevon wrote:

Code: Select all

> typeof Nan
"number"
I have a feeling this will be the case in many languages. Since it's kind of a property of a number to be.. not one..

Re: Some self humorous coding-love-hate!

Posted: Sun Jan 22, 2012 5:23 pm
by Xgoff
bartbes wrote:
nevon wrote:

Code: Select all

> typeof Nan
"number"
I have a feeling this will be the case in many languages. Since it's kind of a property of a number to be.. not one..
it's also of a property of ieee-754

so, wait for it, lua also does it

Re: Some self humorous coding-love-hate!

Posted: Thu Jan 26, 2012 6:56 am
by Taehl
Enough making fun of languages that suck, let's talk about Javascript!

Code: Select all

> Array(16)
,,,,,,,,,,,,,,,,
> Array(16).join("wat")
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
(That's actually the only line in this entire presentation that's reasonable...)

Code: Select all

> Array(16).join("wat" - 1) + " Batman!"
NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman!
I almost died.

Re: Some self humorous coding-love-hate!

Posted: Thu Jan 26, 2012 7:01 pm
by coffee
Taehl wrote:
Enough making fun of languages that suck, let's talk about Javascript!
Ah yes JavaScript. That thing that gave me a lot of headaches in the era of Microsoft-Netscape browser wars. But enough making fun of languages that suck, let's talk about JavaScript!
1995 - Brendan Eich reads up on every mistake ever made in designing a programming language, invents a few more, and creates LiveScript. Later, in an effort to cash in on the popularity of Java the language is renamed JavaScript. Later still, in an effort to cash in on the popularity of skin diseases the language is renamed ECMAScript.
from "A Brief, Incomplete, and Mostly Wrong History of Programming Languages" (http://james-iry.blogspot.com/2009/05/b ... wrong.html"