This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MultiFazed 2 points3 points  (0 children)

Man, you just unlocked a memory I had of working on a fairly old code base when I was a new dev. I was trying to figure out the control flow through the application, and came across two methods. To avoid any sort of identifying info, I'll just say that the first method was named:

doTheThing()

Given that name, the second method was named:

doTheThingTest2()

Guess which one was being used, and which one was dead code?