Re:Systematically removing code
by marcosdumay on Wednesday November 11, 2020 @01:40PM
(#25061346)
> but it's not going to catch that your NicheHelper class that was only called in one place is not called anymore
Your NiceHelper function gets one type as argument and returns the same type? Is it `void NiceHelper(...)`?
Severely restricting the number of `void X(...)` functions on your code helps a lot. Also `a someF(a)` is a type that is useful once in a while, but if it's useful all the time something may be broken.
Your NiceHelper function gets one type as argument and returns the same type? Is it `void NiceHelper(...)`?
Severely restricting the number of `void X(...)` functions on your code helps a lot. Also `a someF(a)` is a type that is useful once in a while, but if it's useful all the time something may be broken.