News for hackers. Stuff that matters.
Re:If you (still) work at Twitter and you can code, head to ... by kibwen on Friday November 18, 2022 @01:45PM (#33659808)
From screenshots? There's no way that Musk has any ability to judge the quality of a programmer based on "up to 10" screenshots of code entirely divorced from its context, especially since he is not a programmer and has no experience whatsoever with any of Twitter's codebases.
Re:If you (still) work at Twitter and you can code, head to ... by qbasic_forever on Friday November 18, 2022 @01:58PM (#33660091)
Yeah that's wild, so you have like maybe 80-150 lines per shot to prove your worth. What is he looking for, algorithm interview tricks like a quick sort or graph traversal? He's in for a shock when he learns most coding isn't what is done in interviews--I bet most Twitter engineer's best work would look like some ugly tangle of complex syncronization logic to allow highly parallel processing. Fast, efficient code isn't always nice to look at or read.
Re:If you (still) work at Twitter and you can code, head to ... by HDThoreaun on Friday November 18, 2022 @06:07PM (#33664097)
> What is he looking for, algorithm interview tricks like a quick sort or graph traversal?

This is so obviously not the point of the exercise that it feels like bad faith. I doubt he's firing anyone at this point. Just looking to see how does what and talk with them about their impact. The code examples are just to get the ball rolling. Basically everyone in leadership at twitter is gone, Musk needs to figure out who can be trusted to keep things from collapsing, not who to fire.

Re:If you (still) work at Twitter and you can code, head to ... by khazhoux on Friday November 18, 2022 @01:50PM (#33659933)
It’s probably more of a filter to see who can’t even come up with 10 examples of work they’ve delivered over the course of a year.

I do a lot of code reviews, and it’s very obvious who on the team barely churns out useful code —- even just from the low density and volume of their code.

Re:If you (still) work at Twitter and you can code, head to ... by deckard1 on Friday November 18, 2022 @02:03PM (#33660204)
run a git blame on any file and you're likely to see a dozen or more people touching it. You would need a large chunk of freshly-written code unmolested by your coworkers. And what's that even going to prove? You're not inventing any novel algorithm. You're going to write whatever code your PM wanted written to support whatever stupid features or A/B test they wanted done. And Elon's going to sit there and judge the worth of that? Based on what metric?
Re:If you (still) work at Twitter and you can code, head to ... by khazhoux on Friday November 18, 2022 @03:20PM (#33661464)
While fully acknowledging that Elon is a jerk…

Most engineers should be able to run “git log -p —author=myname —since=‘12 months ago’” and find 10 examples of non-trivial code.

And those that can’t, should be able to provide a good explanation of what they contribute instead.

Re:If you (still) work at Twitter and you can code, head to ... by JohnBooty on Friday November 18, 2022 @02:05PM (#33660252)
It’s surely this. Unless he’s even more clueless about this than I think he is…. this is his feckless way of figuring out who does what.

I’m guessing the screenshots themselves will be less relevant than their owners’ description of what the depicted code actually does.

This is all very dumb and I’m not defending the way he’s doing this.

Re:If you (still) work at Twitter and you can code, head to ... by michaelmrose on Friday November 18, 2022 @02:03PM (#33660207)
It must be amazing to have such good will that even batshit crazy behavior is rationalized as somehow reasonable. Elon's going off the deep end.

The primary role of leadership is to feed tasks and guidance to skilled people who your organization has selected based on known temperament and skillset.

If you run a software company and don't know you employ who can code you are at titanic slipping beneath the waves status still calling on skilled ship designers.

It's done he burned 44B by being a bad leader.

Re:If you (still) work at Twitter and you can code, head to ... by ghufran_syed on Friday November 18, 2022 @01:56PM (#33660055)
Plus he could just search for that code in the repo to get the overall context, he probably has access :)
Re:If you (still) work at Twitter and you can code, head to ... by qwytw on Friday November 18, 2022 @02:02PM (#33660194)
Musk is the guy who couldn't figure out how to run a python script not so long ago so it's doubtful.

Also it's really not something a CEO in a company of such size should be doing...

Re:If you (still) work at Twitter and you can code, head to ... by unsupp0rted on Friday November 18, 2022 @02:21PM (#33660560)
Running a python script is hard if you're a dev but not a python dev. I got into all varieties of dependency hell on macOS last time I tried to stand up a simple python project I git cloned.
Re:If you (still) work at Twitter and you can code, head to ... by qwytw on Friday November 18, 2022 @02:25PM (#33660619)
Using git might be hard as well if you hadn't done any actual development in the last 15-20 years. Understanding Twitter's codebase without having worked with it all would be a magnitude or two harder.