On 2013-02-16 19:23, SomeDude wrote:

What does isBlank() return with tabs ?

Tabs are considered whitespace so it would return "true".


I don't like having two functions doing the same thing, so isBlank() may
be useful, isPresent() only adds cognitive overload and mere chaos to
the code base (because someone is going to use both at the same time in
the same function, making the code harder to understand).

Sure, both does not have to be included.

--
/Jacob Carlborg

Reply via email to