Hacker News new | ask | show | jobs
by Myrmornis 636 days ago
You should use a tuple there: it's a collection of fixed size where each slot has an identity. (There's a common confusion in Python circles that the main point of tuples is immutability; that's not so).