For me it's 50-50 reading other people's code and getting a feel for the patterns and actually writing the code.