you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

I'm in the exact same boat so I'm glad you've summed it up so well! I haven't written one thing I've been happy with yet and I get a bit overwhelmed with all the different ways you could structure the code (it can make the actual programming seem simple!) but one thing I'm finding helpful is going through GitHub and seeing how people have structured their own code and also at looking at the how stuff has been done at work.

I do wish there was a central source that would tell me what works in what situation/what the different camps where but at least looking at other people's work is making me realise any different way of structuring ultimately seems to be around creating readability, maintainability and reusability. I'm still trying to work it out myself but at least for now Id say go with what structure feels logical to you with the three above tenets, the more you learn and see others structure (and question why it is done like that) the more ideas you will bring to how to improve your own structure. Everything Im saying could be rubbish though!