re: Other People's Code and the Intentional Fallacy VIEW POST

re: OP can correct me, but this discusses code once written While in CR, the code is still flexible. they argue that even notes about a piece, or co...

What I got was that there are two types of optimization.

1) rewriting the implementation of a function to be faster or more efficient
2) making it so that function never has to be called in the first place.

What I think OP is trying to say is that we should be trying to do method 2 a lot often when we refactor, but it can be hard to determine why the function was written in the first place simply from the function's existence.

code of conduct - report abuse