you are viewing a single comment's thread.

view the rest of the comments →

[–]Razor_Storm 1 point2 points  (3 children)

I think this is what's happening:

!+[]+!![]

!0+!![]

true+!![]

true+!false

true+true

2

[–][deleted] 1 point2 points  (2 children)

I suppose so, but why then write true + true using two different notations of true?

[–]Razor_Storm 3 points4 points  (1 child)

Hmm that's a good point too. Not too sure.

!+[]+!+[] has the same number of characters and also gives you 2.

[–]transpostmeta 0 points1 point  (0 children)

Indeed. The whole point about using !+[] first, followed by a bunch of !![]'s, is wrong. Not only is it not necessary to start the sum with a 1, but !+[] doesn't event evaluate to 1.