62

Just spent the whole day rewriting a 5,000 line function with variables like num55 or num287. These variables constantly get re-used for different purposes and overwritten at will.

Everything is now broken. Including my spirit.

Comments
  • 4
    sounds like a monster, the best thing to do is write a test suite for it, and have it run every time you save, then you're constantly aware of its all working how it was! any functional change come after it can actually be read!
  • 1
    What you need, my friend, is the magic of CTRL-A-DEL
  • 0
    Okay I'll bite. What does this function do?
  • 5
    @user11001 At 5000 lines long, probably everything.
Add Comment