How does one become a great software engineer?
Discussion
Just keep coding
Probably the same way you become great at chess: make fewer blunders?
Striking a balance between code you can maintain and code you actually ship is part of it.
"An expert is someone who has made all the necessary mistakes in a narrow field"
So, to become a great software engineer, one doesn't shy away from mistakes, keeps going and learning and coding until common mistakes become less common. When one is intimate with what works to the point that anything can be created in any area rather than just one specific field of content.
the fact that you are asking that question indicate you are in a path of self improvement, that, for some, is a sign indicating that, if you are not one already, you will be...
By making great software
Use great AI