my favourite thing in ruby is that everything is an object apart from falsiness and that this is literally implemented by false being 0x00, nil being 0x04 and every other legal value in ruby having the 1 bit turned on in the second position.
-
Show this thread
-
false is 0x00 to maintain compatibility with C.
1 reply 0 retweets 4 likesShow this thread -
(that is a direct quote from matz)
1 reply 0 retweets 1 likeShow this thread
Replying to @penelope_zone
And nil isn't because reasons
6:15 PM - 1 Apr 2020
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.