by mas-ev · 4y ago · 0 comments
Would it not be reasonable to take into consideration a employees LOC as a metric?
If you're an engineer and made very few code contributions without a solid justification of why, I'd expect you to be on the chopping block...
These headlines are misleading and people are jumping the gun making assumptions as always.
You can also just write a ton and not actually need it if you’re trying to game the system or if you’re inexperienced.
Commit count would be a little more accurate, but that also is just an analog for who saves the most. It doesn’t really tell you who made any impact with or without code.
Finally, a lot of senior work is just convincing other teams to allow you to do what you’re trying to do. Most code features are trivial to write, but a nightmare to get approved.
At a company of Twitter's size you generally expect the junior and mid-level engineers to be writing most of the code and the more senior engineers to be implementing the trickiest bits, managing stakeholders, and writing design docs.
At the extreme end, engineers working to optimize performance might spend months painstakingly optimizing a single hot loop to save the company a few million a year (I've seen this happen).
Given this reality LOC, is so wrong for more senior engineers as to be a waste of time to even consider.
And then there are usually senior positions where producing code is just part of your responsibility - compliance, analysis, negotiation, architecture, operations, troubleshooting shooting.
There are countless teams and examples for it being a horrible metric to solely fire on.
I just think it's not right to jump to conclusions like Dictator Elon fires engineers with low LOC.
All we have to go off of is they had review meetings where they had to show off the code they contributed and Elon "suggested to query for lines committed."
Well that sort of logic requires you review the logs. It doesn’t have to mean you set up some arbitrary “anyone under ckloc per week is fired”
No body knows unless real leaks come out. Did they do it strategically? Or by numbers across the board like people are implying?
Whether your counting lines changed, number of commits, etc, you can easily catch out the people who do jack shit. Cross reference that metric with their other duties and it is easy to find a lot of slackers. The people who should be coding a lot, but just don't have any work to show.