23

This is why DRY is important...

Comments
  • 3
    When i was first starting programming i used to copy blocks of code when i wanted to use it again... Now it just makes me cringe at my past self. I can't even say that it was because i didn't know about functions and classes it was just a matter of satisfaction to see more code in the file. (Now it just makes me anxious if i can't see all of the code in the minimap 😂)
  • 1
    @Marnsghol Lol, it's harder to maintain code when you have the same blocks all over the place. You have to update ALL of them.
  • 1
    @jirehstudios Heh yeah i learned that the hardway when i needed to change the code now i just make it so that everything is seperate if can be. Makes it easier to deal with bugs too 😃
Add Comment