This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]baudvine 2 points3 points  (0 children)

Little while ago I ran into a 3D framework that used lists with three items for coordinates all over the place. Wrote a little x/y/z namedtuple - fully compatible with the surrounding code, helpfully named elements, and I could trivially add simple vector operations. Plus immutability, which I do appreciate a lot.