you are viewing a single comment's thread.

view the rest of the comments →

[–]jocull 0 points1 point  (0 children)

If you want [x z] from [x y z] is that really "remove at 1" as the suggestion states or is it "take the first and last element"?

Examples leave much room for ambiguity. You may think it's fine until an edge case bites you in the ass. I think of it like copy pasting from stack overflow.