3 ms·
>> A colleague told me the best way to level up coding skills is to read excellent code. > The best way to level up is to code. I think it's much more subtle
by bityard 5y ago
>> A colleague told me the best way to level up coding skills is to read excellent code.
> The best way to level up is to code.
I think it's much more subtle than either of these.
First of all, "excellent code" is an extremely subjective thing. I once worked with this one developer. He could cook up solutions to complex problems very quickly. But he didn't comment or docstring any of his code, he favored writing his own libraries and frameworks rather than pull in dependencies, and every single thing he wrote was grossly over-engineered once you managed to figure out what it was doing.
Which is a long way of saying, he was a brilliant programmer who wrote very shitty code. And unfortunately, there are a large number of open source projects and maintainers like this, so picking some at random to study may not get you very far.