
Sept. 2, 2021
12:11 a.m.
On Thu, Sep 02, 2021 at 04:04:40PM +0900, Stephen J. Turnbull wrote:
You may not need to teach them about singletons, though.
It's hard to teach why `is` works with None, but not with 1.234 or [], without talking about the object model and singletons. To say nothing of why it works with 0 and 1 but not 123456. -- Steve