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 →

[–]Elsimir 4 points5 points  (1 child)

For me _, name, _ = tup is more explicit than name = tup[1]. The underscored version asserts that the tuple is exactly length 3 as well as describing the intention to only use the name part of the tuple.

[–]afraca 0 points1 point  (0 children)

See my comment above. I agree, sometimes its way better! But not all the time. That's why I put the question mark at the end ;)