Is it Legal? Elon Musk ultimatum. Do ‘extremely hardcore’ work or get out

For me it was, as a middle manager, going through a private equity buyout. They took a profitable division of a larger company and “harvested” it until there was nothing left. All the while crying crocodile tears about all the hard decisions they had to make and promising rewards that never came to those of us who survived round after round. I’d put a lot into that place, and watched as pure greed destroyed it. I’ve never been willing to get so emotionally invested in my work since.

I’d been through startup failures, and they never seemed so dishonest, so they never made me cynical like that experience did.

I don’t know that I was ever promised anything, but it was more the discordance between them having these mission/vision/value statements that professed loyalty, service, and sacrifice, and then when things got financially hairy, what happened? They laid people off. They didn’t just suck it up and announce no profits that year, or borrow money to keep people around, or do any of that sacrifice or loyalty business they expected from us. Nope, their loyalty was to their shareholders first and foremost.

One company I’ll grant actually avoided mass layoffs by giving everybody a pay cut and then restoring it over the next year or so. That was actually fairly cool I felt. But then they were also the worst I’ve worked for about canceling projects and laying off the entire project team, or moving out of a particular business and just unceremoniously shit-canning the entire staff of that business unit. Somehow I think it was easier for them to compartmentalize that than just having to lay people off to keep the books in the black.

For the non-programmers out there, let’s say the CEO came in and asked you to screen shot the 10 most salient sentences you have written in any reports, emails, Slack posts, etc over the last 6 months. Not the entire reports, emails, etc, but just the individual sentences, with no additional context.

And, TBH, that may actually be more useful in such an exercise than screen shots of literal code.

There, I just saved the Company ~$3,000 MRC.

I would suggest that the problem is he is evaluating people after multiple broad based Reductions In Force, and not before the RIFs. He is also inviting people to be evaluated on their performance with just a couple of hours notice, after demanding that they commit to working long hours to help him achieve his vision.

And leave the refrigerator bare?

Not seeing the problem?
What makes a program work is not a few lines of code, but rather the architecture of the program and the data structures used.
The lines of code I’ve written and seen that might qualify for this are one-liners, which are cool in that they do a lot in little space and use obscure features of a language. Cool, but hard to understand and have a high chance of leading to someone maintaining the code breaking it.
Plus I very much doubt Musk has or ever has had the background to properly evaluate such code.
Perhaps the code he is looking for contains a comment
// Musk is Ghod.

Did you miss the part about the checkins, and the need to describe your code?

Look, lots of software shops wind up with a few crap coders (or many crap coders, if they are badly managed or flush with cash or hiring based on characteristics other than coding ability). The crap coders either do very little, or they look for the easiest tasks and take them, then lean on others heavily for ‘help’. Or, they are interface cut-and-paste artists who produce lots of ‘lines of code’, but it’s all boilerplate.

If I saw the list of checkins of all the members of team and nothing else, that alone would probably give me a good clue as to who the best performers are, and who does the hard stuff. And you’d be shocked (or not) to discover how many programmers don’t understand the code they are writing. They just follow patterns or look at what their teammates wrote, and use the same code. A pointed, “Why did you Malloc that in this case?” or “Why did you decide to use that service call instead of this other one?” will tell you just how deep the knowledge is of the person you are talking to.

Look, it could be a complete shit-show, or it could be a reasonable way to rapidly sort people out when you have to make quick decisions about a lot of people. It depends on how the session was run and how good Musk is at spotting good software developers. The process itself is the audition - not just the paperwork you bring, but your answers to questions, your ability to describe the code, etc.

At the very least, it’s not an obviously stupid way to go. It all depends on how well it was carried out. But Musk has had an ability to attract and recognize top talent, judging by the hires he’s made in his other businesses. He’s also a programmer. And for all you know he’s taking the results of that session into a meeting with some of his top guys from the Tesla and SpaceX teams and having them all do their own ranking.

The idea that Elon Musk, in his month at Twitter, has gained a deep enough understanding of Twitter’s code to be able to ask intelligent questions that will reveal anything useful based on screenshots of code is utterly laughable.

Is Musk smart enough? I don’t know. But git blame can be used to answer the question “who last touched this line of code?” fairly handily (and with a little more effort one can figure out when the last “important” change to that line was).

(And it is hard to run git blame on a screenshot, much less a printout :slight_smile: )

this. Just so bizarre.

You know, I DO know how code works since I 've been writing it since 1977. I have worked at software companies both big and small for decades, ran my own for a decade, and I have done plenty of hiring and sat in numerous code reviews. My last job was on a microservices cloud architecture very similar to what Twitter does.

There are no surefire ways to discover how valuable someone is in an interview. Sometimes we give them coding tests. Sometimes just a lot of questions. What we would LOVE to do is have a look at the code they had written in the past, and quiz them about it. But when candidates come from another company their old code is off-limits. Musk is in a nearly unique position in that regard.

Sometimes prospective employees will bring open source project links so we can see their code (this ismbecoming more common), and this is a big advantage for them if they are good. I told my own son to participate in open source stuff to build experience and create resume artifacts for this reason.

Musk has to decide whether to keep or let go dozens of developers. As a way of doing that, his method is not necessarily bad, and could be quite good given the limitations of what he can look at in a short period of time.

It all comes down to the actual implementation at the meeting. How were they questioned, how were their answers evaluated, etc.

For example, there is a block diagram of Twitter’s architecture in one of the screen shots. How much do you want to bet Musk said something like, “Let’s start at the top - who wants to draw a high level diagram of Twitter’s architecture for us to refer to?” That’s what I would do. Then I’d have noted who volunteered for it, and I’d ask them some pointed questions along the way to see if they really understand what they are drawing.

Musk could ask lots of questions that would be useful without him having to understand the architecture at all. Things like, “Where would you say the key performance bottlenecks are with this architecture?”, or “How do you handle transactions between all these services? What if one of many dependent calls fails?” The answere you get to such questions (and more detailed ones if the candidate nails the easy ones) tell you a lot.

Believe me, there are a lot of programmers out there who claim to write code but who would fail Musk’s demands. I have interviewed professional programmers who couldn’t describe the difference between a stack and a queue. I’ve seen programmers leave bugs in code because they didn’t understand memory management. A common failure is when you ask a candidate to write a method that is best solved with recursion and see if they realize it, or if they give you spaghetti code.

We had one engineer (MIT graduate engineer no less) who was so incapable of writing decent code he eventually became a QA, then an IT guy who managed the build servers. But he was still listed as a software engineer in the company. His checkin history and a few questions would have made that instantly clear.

The idea that Musk’s technique is ridiculous on its face is, well, ridiculous on its face. Without sitting in on his meeting you have no odea what was asked and how the information was used. Maybe all he was looking to do was get rid of the bottom 10% of engineers who are useless, and pass all the rest. We do 't know.

Reading this thread I’m picturing Taika Watiti in Free Guy.

Cool, we’re a team.
We should come up with a catchphrase, okay?
All right.
On three. One, two, three…
(SHOUTING) Get back to work!

Maybe he shoulda done that before offering a blanket severance package to his engineers.

Actually, that’s not what it depends on. Whether it’s a stupid way to go depends on:

  1. The problem you’re trying to solve.
  2. How you decided that this was a problem.

If you have reason to believe that your engineering staff has a lot of dead wood that needs to be pitched overboard, then reviews are a way to do it. Code reviews, architectural auditing, whatever. Make folks tap-dance, get rid of anyone who can’t.

But Musk actually had no reason to believe this. Twitter wasn’t known for low quality, flakiness, or poor performance, it was considered a model of resilience engineering. It wasn’t a low-prestige employer of last resort for those who couldn’t hack it elsewhere. It was a competitive employer that attracted the best and the brightest.

If Musk thinks his ranks were full of dead wood that could be detected by him, a part-time coding hobbyist (at best), then he’s truly a moron. But I don’t think that’s the case either. I think he’s the dog who caught the car - he paid double a fair price for Twitter after trying to wriggle off the hook for 6 months. He stupidly scared off most of his 2023 advertising revenue by pursuing his culture-war grievances. His investment is evaporating before his eyes, he has little safety margin to pursue changes, so all he can really do is make deep cuts.

The code reviews and architectural reviews are really just a veneer atop what Musk is actually doing here. What Musk is doing is loyalty tests. It’s group belief affirmations. If you think he’s trying to build an engineering powerhouse to outshine his competitors, then it looks silly . Obviously he’s not trying to do that. All he’s trying to do is align headcount with what he’s always said he wanted to do - remake Twitter into something more flattering to his beliefs and priors.

All his talk about “bots and trolls” was just code for anti-Musk criticism. He wants it silenced. He knew Twitter contained a lot of wokies that wouldn’t play ball. Those are the people he’s trying to ferret out. Them and anyone else who doesn’t seem appropriately subservient. Musk is currently performing a political purge.

Business plan? There is none. Musk assumes that his preferences are conducive to good business. So first he’ll pitch out everyone who isn’t unswervingly loyal. Sure, he’ll try to stanch the financial bleeding and limit his losses. But his first priority is making sure that if he has to bail as CEO (as he’s stated he will, Twitter can never again become a woke hive of villainy hostile to his interests.

That’s what the bullshit reviews are all about. It’s nothing to do with the tech. He’s making sure everyone knows he’s the boss, and that they’re on board with the Musk project, so that when he moves on, Twitter will never again become a threat to him or his interests.

I haven’t done any modern coding, but I’m still proud of

70 if x<5 goto 20.

Written while I was in high school. I think I still have it on a t-shirt.

I am a professional developer and I like that code, wrote plenty like it in my youth.

The most valuable code I have been involved with, I never wrote, and have never seen. My team noticed an aberration in some log files where we were contacting a 3rd party system and deduced a major bug.

We contacted the third party, they fixed the bug, and we saved the client £800 000 per anum.

How do I show that to Mr. Musk?

As for Musk not knowing how to program:

In short, he’s capable of writing software in a number of languages, and has done so in the past (he wrote and sold a computer game at age 12), but he’s self-taught in software. He wrote Zip2, which he sold for millions, but he hired staff programmers to clean up his code.

X.com became Paypal.

My nephew (the one who worked at Tesla) thinks Twitter will survive. He agrees that Musk just drove off most of the best engineers, and thinks he’ll also end up with a lot of regulatory fines and stuff, but thinks the user base is very sticky, and that Twitter probably can get by with a lot fewer engineers, and that eventually Musk will rehire the staff he needs. And that so long as it doesn’t go down too often while that’s happening, it will ultimately be successful.

I think he’s underestimating the risk of Twitter losing too many advertisers. But who knows.

I see that it will survive all rigth, I expect a success like how the Washington Times is still there after all these years, continuing to mislead others thanks to billions tossed at it by a rich maniac that does not ever care about the costs.

As the Washington Moonie Times is to the American press, Twitter will become that to the world’s internet.