News for hackers. Stuff that matters.
Re:Show HN: Array – A Better Python List by nemetroid on Sunday January 10, 2021 @01:10PM (#25717510)
I've yet to see a (popular) style guide recommend against "if something:".
Re:Show HN: Array – A Better Python List by fantod on Sunday January 10, 2021 @01:35PM (#25717854)
I don't really see how this is a reason not to carefully consider the type of an object when using truthiness.