27
yzhea
7y

Not cleaning before committing.
You'll probably see lots of /*unused codes*/ in my projects.

Comments
  • 2
    Yeah.. It's not uncommon for me to comment out lines/blocks and forget to remove them.

    That was what you meant, right?
  • 5
    yes yes hahaha!
    I'm sorry for not being clear enough. XD
  • 6
    @Dairattez I'm so sorry. It's just that, I might eventually need those codes? HAHA
  • 1
    @yzhea omg ! How can you 😲 (apart from the part you need them, in that case you can do purpose comment ).Some of my teammates do that , whenever​ I take latest changes I find out such commented block and do cleanup and commit back 😉
  • 5
    @Vikram now i fell bad :(
    i'll do my best to clean up before committing, but uhmm no promises :P
  • 2
    If I get a PR from a dev of mine that has code commented out I will point out for the nth time that git has a history and they should remove it. It never gets old.
  • 2
    @yzhea I swear, you sound just like one of our devs :D
  • 4
    @nicholai i'll take that one as a compliment. XD
  • 1
    @yzhea to be fair it is my most trusted dev, but they also do things like functions with two users (as objects/variables) named user and theuser
  • 0
    @yzhea in btw which language you work on ?
  • 3
Add Comment