(Technically, [number, number, number, number] is a quadruple, not a tuple. Tuple specifically refers to two-element lists)
That said, yes, the rule of thumb is to only do this for actual tuples, where the two elements are implicitly clear: one for state, one to modify, and in that order. Otherwise, as much as it bloats the resulting runtime, prefer keys to allow omitting an element declaratively, i.e. by specifying the other two elements you wish to retrieve.
(exceptions exist, such as cases where all elements are mandatory to the consumer in every case)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
(Technically,
[number, number, number, number]
is a quadruple, not a tuple. Tuple specifically refers to two-element lists)That said, yes, the rule of thumb is to only do this for actual tuples, where the two elements are implicitly clear: one for state, one to modify, and in that order. Otherwise, as much as it bloats the resulting runtime, prefer keys to allow omitting an element declaratively, i.e. by specifying the other two elements you wish to retrieve.
(exceptions exist, such as cases where all elements are mandatory to the consumer in every case)