I think blindly firing employees with low code counts is an objectively bad decision that ignores a lot of nuance and likely lost a lot of great engineers to companies that will respect them.
The idea that all lines of code are equal (in difficulty) is so absurd as to (in my memory) have been never discussed on HN before. Everyone here knows it. How could Elon not?