4 ms·
It is consistent though, do you have a better generic system for grouping object keys than alphabetization? It’s pretty handy to approach a codebase knowing tha
by ericmcer 6y ago
It is consistent though, do you have a better generic system for grouping object keys than alphabetization? It’s pretty handy to approach a codebase knowing that it has enforced this convention.
- Seb-C 6y agoMy point is that having rules on this kind of detail is more harmful than beneficial, so there should not be one in the first place.
- wool_gather 6y agoThe point is that it's not generic: there is meaning conveyed by the grouping that can't be expressed as an easy script (which is why there's a human writing the code in the first place).