quote:
Originally posted by Leonardo
Seriously people, is there a difference? Except from saving 0.00001 second and a couple of bytes, is there really a difference? No? Then, let it go.
yes there is a difference. and "return tmp != "";" is prefereable.
Moreover, checking if tmp is empty isn't a good thing todo as keys can also be empty (yet existing). That line should actually just be "return true".