2 ms·
I've found that I rarely know the right name for a variable until I've written a significant amount of code that depends on that variable. Refactoring's a must
by nostrademons 19y ago
I've found that I rarely know the right name for a variable until I've written a significant amount of code that depends on that variable. Refactoring's a must for me, because otherwise what the code says would have little relationship to what it does. I don't think this is due to a lack of foresight or planning (I do pencil & paper design notes before I start coding); it's more that in the process of coding, I discover abstractions and common code that that aren't apparent until the code's actually written.