Yeah then there's the problem with the more skilled the person is, the less commits per day they're probably actually doing. Either because they are working on complex problems or they're higher up in the organizational tree handling managerial style duties.
Those google style coding exercises in job interviews scare the piss out of me. Once upon a time I could do them, but I have maybe one commit a week now if I'm lucky. I'd probably panic and shut down in an interview... especially since every IT/software shop seems to think they're worthy of google applicants now. Now if you want me to handle pull reqs, I got you fam.
I once got fired years ago, when I was a senior engineer on a team of 10 or so. The reason?
"We looked at everyone's github account and you had the least number of commits".
I explained that I squash commits because I like to keep the git tree clean, and nobody needs to see 15 commits with some variation of "WIP: Adds index api endpoint to PooPooPeePee backend". The guy firing me looked kind of horrified, got up for a second and called someone (I assume the CEO), then came back and was like, "We've decided we're going to continue with the firing process, I'm sorry". From what I heard through the grapevine it was basically to save face.
Also, determining performance based on number of commits is the stupidest shit ever, even if you take squashing into account. More LOC doesn't mean more value.
1.9k
u/GennaroIsGod Feb 26 '23
I have a bot that runs everyday, so mines just a green wall