are YOU a garbage collector?

 If I will ask you: "Are you a garbage collector" - I bet I will hear: "NO", so I ask you: show me your code....

It is unbelievable that so many developers are pushing changes with commented out code, because  there could be a chance to re-use that piece. In fact that time never comes to me and the lines stays there forever.
Clean code means no rubbish commented code - we have git to remember that for us.

Now, when you need to comment a few lines in a row... there are better solutions, but if someone is lazy and slumsy then we can see diffs on code review like that:

Now this is a mystery for me, when I am able to see that this is going to the main branch as the guys who is called code reviewer is there only to click Approve - I am truly believing that it is not you my reader.

I need to admit that, when I was a kid, together with grandma we were collecting garbage as a way to get some $$ for a life and then every piece we found had a material value and were able to exchange old books for toilet papier :D.

But now - where we have git - why someone is adding an extra work to maintain more rubbish on the screen - as our brain does not know negation (this is an abstract term) - we see and read the lines when scrolling and looking for place we need to find.

Comments

Popular posts from this blog

an actual controversy switch vs if chain (a benchmark example using LinqPad 7 free edition), but the real problem was hidden in a different place [refactoring stuff]

why do we need messaging system (maybe massaging...)?

can you believe that more code gives ability to add much more faster?