Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I've been spoiled by IntelliJ's handling of TODO comments and regions. As code goes through refactoring or updates, I make judicious use of these hints so that after final testing, the Great Purge can happen in one clean commit.
I don't like carrying dead code forward. -
snypenet2358yOr complex programs with very little userinteraction and output. Like pricing/rating engines lol
-
boo19974048yI tend to keep it, who knows I might end up using that again (or its improved version).
-
boo19974048y@spences10
Yeah its a good practice to not keep unused code, but sometimes you might need to.
@Amitkumar
In my case its mostly unused classes, but I do comment out its instantiations and other stuff needed to initialise it sometimes.
the actual code is way more than that . Is there anyone who adds the code but doesn't remove the code that isn't necessary
undefined