News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by wheelerof4te on Saturday April 23, 2022 @05:26PM (#31138747)
With tuples inside of lists, you usually unpack them to variables in a for loop.

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.