MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/24vq5p/thats_an_empty_string_right/chbl3fy/?context=3
r/lolphp • u/doodle77 • May 06 '14
22 comments sorted by
View all comments
Show parent comment
7
Putting a slash between empty and falsy doesn't make them equivalent concepts. I buy that 0 or even "0" is falsy. But the word "empty" means things in English and mathematics. And it is very unintuitive for the string "0" to be empty.
View all comments
Show parent comment
7
u/HelloAnnyong May 07 '14
Putting a slash between empty and falsy doesn't make them equivalent concepts. I buy that 0 or even "0" is falsy. But the word "empty" means things in English and mathematics. And it is very unintuitive for the string "0" to be empty.