137

Just saw this comment in our code:

// TODO: think of a better way to do this

Committed June 12, 2012

Comments
  • 2
    I guess they never found a better solution
  • 1
    Oor they never looked haha
  • 1
    Wish it was the former...
  • 13
    // Day 1555: Still researching. Management doesn't suspect a thing.
  • 2
    Maybe they are still thinking 😀
  • 6
    Seems this is the case 80% of the time. You do something that isn't the best way, but it works. You make a note to optimize it later when you have time and then move on to the next thing. As long as it still works you forget about it or it's "low priority" compared to all the other things on your plate that don't yet work.

    After enough time has passed, you forget why you did it that way in the first place and then you're afraid of changing it and breaking everything.
  • 1
    What it actually means: this is a bad implementation, and I want the next person who sees my code to think I was going to replace it. But it works and I'm onto the next thing
  • 2
    i did something similar last night on a personal project... it just works lol
  • 3
    if it's broke don't fix it
  • 4
    @hvidt lolwut? :D
  • 0
    Eek, I was actually worried you got stuck with some of my old code. Then I saw you were from London, whew!
  • 0
    I believe I've written that and line, word for word before...
  • 2
    I imagine an old mad with the long white beard still meditating on the top of the mountain to find the solution for this.
  • 1
    Oh god, i thought this was from a colleague.
  • 2
    @Michal78 "Oh God, someone noticed"
Add Comment