#named-tuples

[ follow ]
fromTall, Snarky Canadian
5 months ago
JavaScript

Don't return named tuples in new APIs

Named tuples should be used when tuple return types become insufficiently descriptive due to API expansion.
Starting with named tuples complicates API usage due to dual access methods for users.
[ Load more ]