Don’t start with classes. Start with something that actually does something you understand. Like updating text files. Or pulling data about something you find interesting
https://automatetheboringstuff.com/
Is a good book every newbie should read. It teaches you how to use programming like a tool
Ime anyone who is experienced enough knows how to avoid these Types of issues anyway (through tooling and good convention etc)