29

Just spent 10+ hours refactoring a code, and at the end I've figure it out a one line fix to the problem... just wasted 10 hours of my life.. :)

Comments
  • 1
    I take different approach, think first then write
  • 1
    @vane I did that but, somehow i misunderstood the bug
  • 1
    @echonox misunderstanding is common in relationships that’s why I respect my code
  • 6
    You spent 10 hours learning ;)
  • 3
    Hours of coding can save minutes of planning.
  • 5
    But if you couldn't find it at first than maybe the refactoring was necessary? Refactoring is also a good way to understand the code.
  • 3
    @ShotgunSurgeon exactly - refactoring for 10 hours probably raised the overall code quality.
Add Comment