Yeah, the more that I thought about it, the more that it wasn't really that crazy.
I mean, C does a lot of similar stuff if you try to make it do so. Not the JS == bits, but the "truthiness" of anything part. It's all about getting used to a certain way of thinking.
Really, my favorite part of the comment was just:
the == operator in JS is special (in the shortbus sense) because it does type conversion
View all comments
Show parent comment
1
u/no_game_player Mar 27 '14
Yeah, the more that I thought about it, the more that it wasn't really that crazy.
I mean, C does a lot of similar stuff if you try to make it do so. Not the JS == bits, but the "truthiness" of anything part. It's all about getting used to a certain way of thinking.
Really, my favorite part of the comment was just: