3 ms·
The main reason it's not a massive headache is simple: Records aren't used THAT widely. Sure, in C++ or Java everything has named fields, because that's the onl
by merijnv 12y ago
The main reason it's not a massive headache is simple: Records aren't used THAT widely. Sure, in C++ or Java everything has named fields, because that's the only thing you have. Most Haskell datatypes use ADTs without record syntax, which means fields aren't named.
Personally I only use records for large-ish "configuration" datatypes which and I just don't use that many of those for it to be a real problem.