Comment Re:How many ways are there to do simple things? (Score 2, Insightful) 694
Exactly. Reasons like those explained the GP and the subsequent replies are the reason we end up with bloated code with hundreds or even thousands of unused methods/functions/classes/etc.
"What is this function used for?"
"Oh, because I know that the next feature we add here will need this."
This is not a valid excuse. Anybody who has spent a month working in the industry will know that product managers change their minds on a minute-by-minute basis. Don't waste my time by putting in code that I will end up reading, deciphering, and eventually find is not even used.