2 ms·
It's unclear why empty strings or lists should be considered false yet it's somehow evil for empty sets to be considered false. The purpose of type checking is
by anamax 4y ago
It's unclear why empty strings or lists should be considered false yet it's somehow evil for empty sets to be considered false.
The purpose of type checking is to help people write correct programs.
It's unclear that requiring "if {string}.isempty() ..." does that better than "if {string} ..." in a strongly-typed language.