Watch this: Clean Code: Fundamentals, Episode 1. Clean Code by Uncle Bob (Robert C. Martin) . He literally wrote the book on clean code (and it’s a very good book). The guy is a legend.