My process was to schedule 2h block and then start with pulling random diff. I checked if engineer can explain diff purpose from both technical and business perspective. Then dive in and assess understanding of code base by asking about random functions/lines. Follow up if I do not understand something. Why was it done this way? Did you consider other options? What are pro cons? How long did it take you to write this? Who reviews it? Any approvals were needed? What was process to ship it?
You will be surprised how often sr/principal engineers are clueless and dev process is full clusterfuck when people copy/paste without understanding what they are doing.
You very quickly understand what’s going on. You do not need to talk to every engineer - random representative sample is good enough. You do not need to have domain understanding too - though it’s obviously very helpful.
It's an intimidation factor on Musk's part. Are you willing to play along and show your work? Or are you going to huff and puff and complain about it? Maybe you're hiding something, or maybe you're not going to be a cooperative resource going forward. Now you're on the cut list.
Maybe the code will get glanced at for a moment. Most of us can tell well written code from spaghetti without running it through a compiler. But still, that's not the prime objective here.
Twitter has a ton of home grown tooling that a company it size wouldn't have if it was started today.
Is the team of people maintaining their custom stream processing engine really going to say "You could probably just replace this whole team by using Flink"? Repeat for their custom NoSql DB, their batch processing engine, their RPC framework etc.