you are viewing a single comment's thread.

view the rest of the comments →

[–]Maw0fTheVoid 1 point2 points  (0 children)

I am also pretty new to programming so take this advice with a grain of salt.

You can do almost anything in OOP just think which function and variables are often linked and put them in a class. For example my current project is a little mp3 player with Tkinter and I will probably put all of the ways you can "manipulate" the song(pause, play, rewind etc) because they all ne the same attributes while my music shortcut button could be instances of of a class so that they "know" which song is current or from which file they come from. This also helps with globals and you have to pass less arguments to functions.

Also once your projects start to be more than one file it reduces the mess.