DEV Community

Discussion on: TODO in code

Collapse
 
eljayadobe profile image
Eljay-Adobe

Every "TODO" comment is an in-code marker calling out technical debt.

They signify good intentions.

If the developers never go through and make a pass at cleaning up those TODO's, they'll accrue over time and slow development. (Even if the items are not called out with TODOs, the unclean code is still unclean. Just harder to find the filth without the TODO droppings.)

Making a conscientious effort to address the TODOs is important.

Clean Code by Robert Martin.

My project has TODOs that have lingered for decades. Yes, I said decades. /sadpanda