DEV Community

Discussion on: Do you have any bad “sunk cost fallacy” stories?

Collapse
 
nektro profile image
Meghan (she/her)

I love deleting code. The way I see it, the faster you can delete code and start over (whether it be a line or a project), what you're saving is the countless hours saved not continuing bad work.

Collapse
 
alainvanhout profile image
Alain Van Hout • Edited

I completely agree :-)

(added as a comment to a post called 'What little things make you happy while coding?')

Deleting code.

(The context here being: working with problematic legacy code and getting to the point where you have new code (paths) that do(es) the same thing but without the issues, so that the old code, and its issues, can just be discarded)

@ben : so I went to look up the syntax for a comment in the Editor guide, with my comment id readily for cut-and-paste. Turns out there was no need. Coincidence to the rescue! :)