I'm impressed Torvalds managed to not know what he was referring to (the Twitter firings).
The missing context whenever this comes up is the fact that it was a surprise one off.
If developers have no idea they're going to be graded by lines of code at some random future date that's a much different situation than saying you're going to give bonuses away every month based on how many lines of code were written.
Everyone knows the second is bad, it'll be gamed massively. The first one could be useful though.
And yes doing it as a one off is still problematic and you can think of all kinds of exceptions, but if you think the organization is full of dead weight in general and overhired massively, a crude stack ranking by lines of code is a pretty good metric for figuring out which (e.g.) 50% is the bottom.
rsynnott 9 hours ago [-]
> I'm impressed Torvalds managed to not know what he was referring to (the Twitter firings).
I mean, naughty old Mr Car didn't _invent_ this nonsense; IBM was fairly notorious for it in the 80s, say. He's probably the most prominent recent example.
> The first one could be useful though.
How?
> a crude stack ranking by lines of code is a pretty good metric for figuring out which (e.g.) 50% is the bottom.
No. It's really not. For a start, you probably lose basically everyone very senior by that mechanism. But also you lose the troubleshooters.
red-iron-pine 9 hours ago [-]
Torvalds talking out of his ass? impossible
lunias 7 hours ago [-]
Lines of code written, in isolation, is a strange metric to determine if someone keeps their job or not. I simply don't think this was the only metric. People love jumping to conclusions about divisive characters.
IcePic 9 hours ago [-]
If you are writing HelloWorld-webscale daemon from scratch, then counting +lines is probably "ok", but considering some existing large project like Linux (for instance), you would be well off keeping people who has managed to retain functionality while removing lines. Old projects have a tendency to get a lot of old cruft in which tends to stick (chestertons fence and all that) but someone clever enough to rewrite and remove old useless code is a net win for you, so I agree that if you fire some percentage on most-committed-lines you either had a very recent project from scratch or the measurement is stupid.
tonyedgecombe 11 hours ago [-]
For all the criticism about the Twitter downsizing they have managed to keep the service running on a much smaller staff count.
spiderfarmer 10 hours ago [-]
Smaller staff and smaller user base.
oskarkk 2 hours ago [-]
How much smaller user base? Looking at some recent data, which may not be accurate (but they're required to publish user numbers in the EU at least), it looks like the user base may be only 0-20% smaller compared to 2022.
Smaller ad customer base, too, and qualitatively less demanding.
red-iron-pine 9 hours ago [-]
if bots count as user base they're thriving
Craighead 8 hours ago [-]
[dead]
cookiengineer 4 hours ago [-]
Tomorrow: Grokipedia entry about how Linus Torvalds is a rapist and baby child eater and also used the word pizza a lot of times in his email.
You're doubting this now, but deep down you know I'll be right. Elon Musk wants to win the race not because he believes in AI, but because he wants to be in control of the perpetual present.
throw310822 10 hours ago [-]
"How many lines of code did you write in the past <timespan>" is not a good metric but replaced with a more generic "what did you actually _produce_ recently" I can understand the spirit.
mortsnort 8 hours ago [-]
Stupid and smart are stupid terms. There are many, many dimensions to intelligence and a lot of tech elite are too "stupid" to not recognize that being a really "smart" at coding doesn't mean they're really "smart" at everything.
I'd guess Elon and Linus's character sheets are more closely aligned on the same dimensions of intelligence than Linus would like to admit.
rsynnott 9 hours ago [-]
> Linus Torvalds recently appeared in a YouTube video hosted by the popular Linus Tech Tips (LTT) channel - run by a 'separate' Linus Sebastian
... Wait, does the author think that they are _actually_ the same person? If not, why the scare quotes?
GuB-42 5 hours ago [-]
The idea of firing people based on the number of lines of code they wrote makes sense if you think like a psychopath.
On average, more productive developers write more lines of code. Of course, writing more lines of code doesn't mean you are actually more productive, but the trend is there.
Elon Musk wanted to lay off 3/4 of a workforce of thousands because he thought 1/4 was enough, it is going to be disruptive no matter what and no matter how you chose, it is hard to predict the outcome. So, the general idea is to pick people randomly. But you want to bias that randomness towards keeping the best and laying off the rest, and so he picked up the number of lines of code as a criteria. It is semi-random and likely to be biased towards better productivity. It is thinking in terms of statistics, not individual people.
He is likely to be the kind of person who would have no problem banning black people from communities if it wasn't illegal. Indeed, there is more crime where there are more black people, so to lower crime, eliminate black people. And it will probably work if you ignore the fact that they are people and not just points on a chart.
clot27 6 hours ago [-]
based
constantcrying 9 hours ago [-]
Much respect to Torvalds, but all available evidence points to the fact that people that stupid (and some even dumber) do in fact work at tech companies.
andrewmcwatters 7 hours ago [-]
[dead]
onetokeoverthe 10 hours ago [-]
[dead]
damnitbuilds 10 hours ago [-]
Like many people on both political extremes, Linus Torvalds confuses people who disagree with him with people who are stupid.
Elon Musk is the best engineering manager this century.
And a dickhead.
Edit:
Just re-read the story. Going by the quote there, the interviewer lied about what Musk did and the story lies about what Torvalds actually said about him.
spiderfarmer 10 hours ago [-]
“The richest” !== “The best”.
damnitbuilds 9 hours ago [-]
Okay, to be explicit: The best engineering manager in terms of getting things done.
I have read that Musk was a complete cunt to the people working for him, long before he took over Twitter.
rsynnott 9 hours ago [-]
> The best engineering manager in terms of getting things done.
Beyond the joke truck thing, his car company hasn't released a new car in almost seven years. Twitter doesn't appear to have done much beyond release a few previously gated features (longer tweets, tweet editing, and the birdwatch/community notes thing were all things they were previously testing) since acquisition.
Like, I dunno, I'm not seeing it.
Trasmatta 10 hours ago [-]
> Elon Musk is the best engineering manager this century
Grok, is that you?
nephihaha 11 hours ago [-]
Musk is not as intelligent as he claims to be. He is happy to take the credit for others' work.
Zigurd 9 hours ago [-]
If only it stopped at taking credit. That's not half as ego gratifying as stamping your vision of the future <cough>cybertruck</cough> on the roads where monstrosities with deadly edges assault our eyes.
nephihaha 9 hours ago [-]
We haven't got those cybertrucks over here yet, but yes, they are extremely ugly.
Suzuran 10 hours ago [-]
That's just what management does.
beardyw 10 hours ago [-]
> Musk is not as intelligent as he claims to be.
It is a characteristic of those who claim to be intelligent.
Rendered at 23:41:48 GMT+0000 (UTC) with Wasmer Edge.
The missing context whenever this comes up is the fact that it was a surprise one off.
If developers have no idea they're going to be graded by lines of code at some random future date that's a much different situation than saying you're going to give bonuses away every month based on how many lines of code were written.
Everyone knows the second is bad, it'll be gamed massively. The first one could be useful though.
And yes doing it as a one off is still problematic and you can think of all kinds of exceptions, but if you think the organization is full of dead weight in general and overhired massively, a crude stack ranking by lines of code is a pretty good metric for figuring out which (e.g.) 50% is the bottom.
I mean, naughty old Mr Car didn't _invent_ this nonsense; IBM was fairly notorious for it in the 80s, say. He's probably the most prominent recent example.
> The first one could be useful though.
How?
> a crude stack ranking by lines of code is a pretty good metric for figuring out which (e.g.) 50% is the bottom.
No. It's really not. For a start, you probably lose basically everyone very senior by that mechanism. But also you lose the troubleshooters.
https://www.similarweb.com/blog/insights/social-media-news/x...
https://www.socialmediatoday.com/news/x-formerly-twitter-con...
https://techcrunch.com/2025/07/07/threads-is-nearing-xs-dail...
https://www.businessofapps.com/data/twitter-statistics/
You're doubting this now, but deep down you know I'll be right. Elon Musk wants to win the race not because he believes in AI, but because he wants to be in control of the perpetual present.
I'd guess Elon and Linus's character sheets are more closely aligned on the same dimensions of intelligence than Linus would like to admit.
... Wait, does the author think that they are _actually_ the same person? If not, why the scare quotes?
On average, more productive developers write more lines of code. Of course, writing more lines of code doesn't mean you are actually more productive, but the trend is there.
Elon Musk wanted to lay off 3/4 of a workforce of thousands because he thought 1/4 was enough, it is going to be disruptive no matter what and no matter how you chose, it is hard to predict the outcome. So, the general idea is to pick people randomly. But you want to bias that randomness towards keeping the best and laying off the rest, and so he picked up the number of lines of code as a criteria. It is semi-random and likely to be biased towards better productivity. It is thinking in terms of statistics, not individual people.
He is likely to be the kind of person who would have no problem banning black people from communities if it wasn't illegal. Indeed, there is more crime where there are more black people, so to lower crime, eliminate black people. And it will probably work if you ignore the fact that they are people and not just points on a chart.
Elon Musk is the best engineering manager this century. And a dickhead.
Edit: Just re-read the story. Going by the quote there, the interviewer lied about what Musk did and the story lies about what Torvalds actually said about him.
I have read that Musk was a complete cunt to the people working for him, long before he took over Twitter.
Beyond the joke truck thing, his car company hasn't released a new car in almost seven years. Twitter doesn't appear to have done much beyond release a few previously gated features (longer tweets, tweet editing, and the birdwatch/community notes thing were all things they were previously testing) since acquisition.
Like, I dunno, I'm not seeing it.
Grok, is that you?
It is a characteristic of those who claim to be intelligent.