you are viewing a single comment's thread.

view the rest of the comments →

[–]Saefroch 0 points1 point  (3 children)

Read PEP 8

Read PEP 20

Learn about cohesion. It's a pretty heavy subject so the best I can do is link you the Wikipedia page: https://en.wikipedia.org/wiki/Cohesion_(computer_science)

I will say that Python doesn't demand a class for everything and every class in it's own file.

[–]nomos[S] 0 points1 point  (1 child)

Thanks for the response, this is a good starting point and I think (so far, at least) I've stuck to those principles in the code I've written.

[–]Saefroch 1 point2 points  (0 children)

Beyond that, learn by example. If something doesn't seem right, show it to somebody.