2 ms·
I define the default value in one place, and then the interface to my datastructure is simpler; hence as I continue writing, I can spend more of my brainpower i
by stcredzero 15y ago
I define the default value in one place, and then the interface to my datastructure is simpler; hence as I continue writing, I can spend more of my brainpower in the problem domain.
Actually, this speaks to point: optimization should be for reading, not for writing.