18
chief
8y

when you spend hours trying to patch code you poorly structured of which 30 minutes is enough to rewrite the whole damn thing.

Comments
  • 2
    Sometimes it is easier and less stressful to just start from scratch.
  • 2
    I once found a bug in my project. While I was fixing it I realised it occurred because I coded it incorrectly the first time to hack some time and because it was supposed to be temporary code.Cursed myself and continued to patch it. Spent an hour trying to patch it and realised it can't be patched this way.

    Cursed myself again and rewrote the whole damn thing correctly in half an hour.

    Learned to always do stuff correctly even if it is temporary.
  • 2
    @Batdroid exactly. lessons learned the hard way.
  • 3
    @Batdroid that's right! there's no such thing as a "temporary solution". always write it as if it were gold plated.
  • 3
    @rehsae And sometimes your tech lead won't let you. :[
Add Comment