Great tips. Thanks. Do you have a suggested reading list?
"Structure and Interpretation of Computer Programs" by Harold Abelson, Gerald Jay Sussman, Julie Sussman is another standard.
Martin Fowler and Robert C. Martin are both prolific.
Coding takes practice, so once you've got some ideas on what you want you want your coding to look like add them to your practice and see how it goes.