3 ms·
I find the first of those two examples far more readable than the second; the unnecessary spacing requires scanning from the name across the gulf of spaces to t
by JoshTriplett 10y ago
I find the first of those two examples far more readable than the second; the unnecessary spacing requires scanning from the name across the gulf of spaces to the corresponding value, rather than placing the values near the names.
Also, alignment like that produces an excessive amount of diff noise: when you add or remove an entry, every entry changes.
- stouset 10y ago> Also, alignment like that produces an excessive amount of diff noise: when you add or remove an entry, every entry changes. I absolutely agree that this is a drawback — no approach is without some flaw. This is the flaw in mine. That said, I'm utterly convinced that it is worth this drawback.