5 ms·
What is 'MAX_WIDTH_CHARS', and why do they write that instead of just saying '80'? Don't you just hate how devs makes things way more complicated than they nee
by arduanika 3y ago
What is 'MAX_WIDTH_CHARS', and why do they write that instead of just saying '80'?
Don't you just hate how devs makes things way more complicated than they need to be? Granted I'm not a dev myself, but how hard can it be? I'm very smart and I could rewrite this all to be way clearer.
(Maybe you were just asking a sincere question, in which case sorry for my sarcasm here. It's just, the sentiment reeks a bit of typical HN hubris to me.)
- deleted 3y ago[deleted]
- tester756 3y agoWhat?
- yuliyp 3y agoThey were making an analogy between developers using constants in code to avoid hard-coding values in all over the place, and government agencies using references to things defined in other places to avoid "hard-coding" lists of countries in random rules all over the place.