Re:Learnings from 5 years of tech startup code audits
by commandlinefan on Thursday May 26, 2022 @11:29AM
(#31519565)
> a tree of if's becomes impenetrable
Even in that case, a tree of if's isn't that bad (it's not great), but far worse is when you have the same set of if statements copied and pasted around dozens of places. Because you will forget to update one of them at some point.
Even in that case, a tree of if's isn't that bad (it's not great), but far worse is when you have the same set of if statements copied and pasted around dozens of places. Because you will forget to update one of them at some point.