Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
math_dandy
· 2y ago · 0 comments
One advantage of (Named)Tuples over dataclasses or SimpleNamespaces is that they can be used as indices into numpy arrays, very useful when you API is returning a point or screen coordinates or similar.
Comments
No comments yet.
Better HN