That is the best idea, learn by studying other people code.
When I started to work, they had a really big ERP system and I started by following their patterns and methods. Was hard because there wasn't documentation and every one was so occupied and no one could explain anything to me. Reading the code I realised that I don't needed the documentation because methods/functions are really simple and self explanatory. I followed the pattern blinded till I realised why they need it.
All pieces fit and now I do the same study everytime and any project.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.