Hacker News new | past | comments | ask | show | jobs | submit login
“Reportedly, Elon stack-ranked Twitter engineers by LoC and fired the bottom X%” (twitter.com/mcmillen)
29 points by supernes on Nov 4, 2022 | hide | past | favorite | 22 comments



https://www.folklore.org/StoryView.py?story=Negative_2000_Li...:

“He […] had completely rewritten the region engine using a simpler, more general algorithm which, after some tweaking, made region operations almost six times faster. As a by-product, the rewrite also saved around 2,000 lines of code.

He was just putting the finishing touches on the optimization when it was time to fill out the management form for the first time. When he got to the lines of code part, he thought about it for a second, and then wrote in the number: -2000“


I had the exact same thing with an older job. About 15 years ago I got hired to finish a PHP project that the original developer had basically run off screaming from, and oh boy was it a super amateurish mess. No use of the OOP system, and very little in the way of "structured" coding, it just ran from the top of the page to the bottom. (I call this style "long drop programming", your code starts from the top, rapidly proceeds down, and that the bottom is a dead programmer in a noose. Oh and lots and lots of just bad SQL practice. SQL injections, joining tables in memory instead of the DB etc.

So I went through the main pages and rewrote much of the logic as single SQL queries, admittedly rather complex ones, reorganized the code and broke it out into functional modules. The resulting code was about 1/3 of the size of the original.

About a month into the task, I got dragged into management where a very confused project manager asked me why my LOC was negative. I told them "Because I actually know what I am doing". The guy seemed unconvinced until I showed them the original code and mine, and the benchmarks of the two. So I ended up the only guy in a team of 30 coders excempt from their idiotic LOC rules.

And then a month later the 2007 stock market crash happened and that company almost immediately curled its toes and died. Possibly for the best.


... which likely means he's gotten rid everyone who worked on particularly challenging things, like security, privacy, performance, & reliability.

- @mcmillen


The whole accessibility team has been fired, which would make sense... probably not huge LoC, but very crucial work nonetheless


Twitter had an accessibility team? Their website is a nightmare, who were they making it accessible for?


This reminds me of the hundreds of similar, highly paid positions at Netflix.

Netflix allows 4 (four!) subtitle languages to be selected from by users, essentially saying "fuck you" to anyone who would like subtitles in the other 50-70 languages that are available. It's the opposite of "accessibility".

Someone at Netflix came up with this system. A designer designed the UI for it. A programmer coded this up. Someone budgeted for it, tracked it, and approved it for go-live.

Wait, it goes on: Someone had to write the tech support page for this, train support staff to lie to customers and say that this is for "copyright reasons" (it isn't), and so on. Literally hundreds of people had to be involved to actively reduce accessibility.

Managers like Elon look at organisations like this and see nothing but fat that can be cut to make the organisation leaner and more capable.


> Netflix allows 4 (four!) subtitle languages to be selected from by users, essentially saying "fuck you" to anyone who would like subtitles in the other 50-70 languages that are available.

I think you're judging a little harshly without appreciating the nuance that's gone into deciding what to surface to users:

See https://help.netflix.com/en/node/101798


As a Voiceover user on IOS the app worked well enough. I haven't used it for a while though, ever since I discovered profootballtalk.com had an rss feed I had no need to use twitter to keep up on NFL news.


What’s their source for this? I can believe Elon being that stupid but still just seems like hearsay right now.


Especially since Elon himself tweeted in 2019, in response to someone asking him how many LoC went into a Tesla:

“The less code, the better! 1 point for adding a line of code, but 2 points for deleting a line. Bloatware is the devil.”


This would be amazing (the bad kind) and also, I’m quite skeptical.


I'm reminded of IBM vs Microsoft when they were writing OS/2, and supposedly the fact that MS engs were reducing the LoC was aggravating to the IBM engs.


Well that's stupid. Like firing people in factory by amount of manufactured goods. First who will go will be HR, management and engineers telling line operators how to do stuff. Like sure it will work for a while, until something breaks or you will want new product...


The most effective way to fire your best engineers.

If this is true then Elon is truly not an engineer.


Who in the world would ever accuse Elon of being an engineer???


All of his sycophants tend to think he’s a genius engineer and all the ideas his company produced are his own.


Reportedly, your a gullible moron for believing this.


I think most of us knows this is not true. Zero evidence and we known he didn't bring Tesla engineers to count lines.


LoC here meaning lines of code?


Yes


Think this was just one factor...


That it is any factor at all is ridiculous.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: