3 ms·
The main value of a tuple is as a type-safe alternative to an array/list (e.g. scala tuples don't even have named elements). This makes them a lot less useful i
by lmm 13y ago
The main value of a tuple is as a type-safe alternative to an array/list (e.g. scala tuples don't even have named elements). This makes them a lot less useful in a language like Javascript.