3 ms·
I find that long variable names are usually a sign of design that needs improvement. For example, those names are highly repetitive and don't actually tell me
by roguecoder 14y ago
I find that long variable names are usually a sign of design that needs improvement. For example, those names are highly repetitive and don't actually tell me how each of those variables is different from the other, which is the information I care about right that moment. By putting them into a function or prototype who's name communicates the commonality, say "getAllMax" on UniformVectors it could be just as communicative to say something like:
combined = fragment + original