Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python’s “type hints” are a bit of a disappointment to me. Parent comment
Named tuples are just immutable classes with slots. Unless you want to slow your code down considerably, it's best to avoid them.
There are no comments on this comment yet.
Named tuples are just immutable classes with slots. Unless you want to slow your code down considerably, it's best to avoid them.