5 ms·
Comments are an anti-pattern. The more comments you write, the less code gets deployed to production. Only code that's deployed to production counts.
by pkrumins 5y ago
Comments are an anti-pattern. The more comments you write, the less code gets deployed to production. Only code that's deployed to production counts.
- Veen 5y agoI may have been hanging around on Hacker News too much, but I can't decide whether your comments are sincere or an attempt at parody (I hope it's the latter, or I pity Mr Krumins' employees).
- pkrumins 5y agoThey are doing great. They love deploying! Deploy or die is the mantra we have.
- progx 5y agoComments explain why the code exists. When you write a comment, you see sometimes that the code is not necessary. Not necessary and removed code is the best code.
- aulin 5y agohahaha amazingly I actually heard this in real life a couple of days ago... something along: "you write more comments than code! that's not productive!"
- pkrumins 5y agoAnd it's 100% true. The job is to get it out to production not to write essays in comments. Always be deploying.
- 9dev 5y agoI always thought my job was thinking, not writing? It should be about finding a good solution to the problem, not cranking out code like a madman.
- pkrumins 5y agoNo, you have to crank the code out to production as fast as possible. Ship it all the time, every day, tens of times a day. It's a war zone, not academia where you can think all day.
- 9dev 5y agoNah, sorry, I don't buy that. I'm not in a "war zone", I'm building a product for humans, and would like to earn a little so I can enjoy life. Going to war doesn't spark joy for me, but if that's your kink, I'm not stopping you.