67

//Todo means never do

Comments
  • 2
    That reminds me...
  • 2
    Code style rule: Never leave a //todo.

    If you need to fix something before merge into master, leave an assertTrue(false, "Did you remember to buy milk?"), so your test suite fails, prevents a deploy, and reminds you with a message.

    If you need to fix something in the future, add a task to Asana/Jira/Trello or whatever system you use, and set an appropriate due date.
  • 0
    after a few years, same // TODO
  • 0
    Is it why we have so many to-do app these days?
Add Comment