Re:Show HN: Refurb – A tool for refurbishing and modernizing...
by pantsforbirds on Wednesday September 28, 2022 @01:42AM
(#33004598)
Lists can be mutated and Tuples can't, so when you want a default iterable parameter in a function, for example, you would want to use a Tuple. I assume this particular rule is about trying to stay consistent to that practice, even if you only access the iterator of the list and not the list itself.
[ Parent
| on HN ]
There are no comments on this comment yet.