On Tue, Aug 22, 2017 at 11:04 AM, Michael Lamparski <
diagonaldev...@gmail.com> wrote:
> I think truthiness is easily a wart in any dynamically-typed language (and
> yet ironically, every language I can think of that has truthiness is
> dynamically typed except for C++). And yet for some reason i
On Tue, Aug 22, 2017 at 12:31 PM, Chris Barker
wrote:
> Personally, I've thought for years that Python's "Truthiness" concept is
a wart.
> Sure, empty sequences, and zero values are often "False" in nature,
> but truthiness really is application-dependent -- in particular, sometimes
> a value of
On Mon, Aug 21, 2017 at 7:34 AM, Benjamin Root wrote:
> I've long ago stopped doing any "emptiness is false"-type tests on any
> python containers when iterators and generators became common, because they
> always return True.
>
good point.
Personally, I've thought for years that Python's "Trut