3 ms·
Maybe it's just me but the terseness is beautiful. I've been changing my style to be more terse but that makes it more readable or easier to see the abstractio
by wolco 7y ago
Maybe it's just me but the terseness is beautiful.
I've been changing my style to be more terse but that makes it more readable or easier to see the abstraction concept rather than the details.
- greggman2 7y ago> terseness is beautiful. I'd much rather read rect = element.getBoundingClientRect() area = rect.width * rect.height velocity += acceleration * deltaTime position += velocity * deltaTime than r = e.g() a = r.w * r.h v += a * d p += v * d but to each their own. Google, Apple, Microsoft, Facebook etc all specifically say terseness is not a goal and say to use whole words so naming a function '$' would be explicity against their guidelines. I suspect there's a reason for that. The most obvious is I don't know what 'a' or 'd' or '$' mean without digging through the code but I do know what 'area' or 'detlaTime' or 'getElementById' mean