[nil].empty? #=> False
-
-
@bascule Technically it's not empty, but nil is the absence of value, this array has no values, this array is empty is sound logic. -
@krainboltgreene heh, no? is a set that contains the empty set itself empty? I think the answer is no -
@bascule That doesn't have much to do with the fact that [nil] should be considered empty. -
@krainboltgreene should [nil].size be 0? -
@krainboltgreene o_O. Should [nil, nil].size be 0?
End of conversation
New conversation -
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.