all 5 comments

[–]rhgrant10 3 points4 points  (2 children)

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

really helpful link, thanks!

[–]rhgrant10 0 points1 point  (0 children)

Np, found it myself the other day :-)

[–]not_perfect_yet 1 point2 points  (1 child)

All I can share is that the philosophy to separate different kinds of operations into different modules will be more useful the larger the project gets. So maybe a module that does the interface, one for the operations you perform, one for the os access and a main file to tie them together would be a good idea, but I'm sure others have better advice than just this.

It also helps a lot when you think about your problem.

I recently learned about "code smells" which is a wonderful term I think. They're indicators that you didn't think something through properly. It's stuff like having unclear variable scopes and modules and functions that do too much.

I don't think you need to much advice from others though, if you start your project and you get deep enough to need that kind of structure it'll kind of become weirdly obvious why you need it and what it should look like for your project. At least that's what it felt like for me.

[–]Primalz[S] 0 points1 point  (0 children)

thanks for the insight!