Comment

Comment by jamespwilliams

Looks cool.

    bool (__bool__) Returns whether all elements evaluate to True.
I’d be worried that this will trip people up who use the

    if l:
        print l[0] # or whatever
pattern

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton