Of course he was Indian. He had terrible BO (this was 1990; the next year MS cracked down on this) and he smoked. But his code was a candidate for one of those worst-code joke contests.
To be fair, the two best managers I have ever had were both India and I have worked with some stellar Indian developers.
But they were the exceptions. The ethic that most Indians bring to their work is get do the absolute least they can get away with doing. In everything. That's why their code is impossible to read, that's why they learn English just barely well enough to be understood and no better, with incorrect verb conjugations and always accenting the wrong syllables of easy words.
But his code was freakishly bad. I'm surprised it even compiled.
By the way "leftist" isn't the right formulation. You mean Social Justice Warriors, the ones with the pronoun pairs ("they/them") in their profiles. As a real leftist, I completely disown them. They make me sick.