r/AskComputerScience • • Aug 09 '20

Learning higher level programming

Hello

I've been programming for about 5 years now, and I have a decent understanding of several language (mostly C/C++, as well as some assembly and python).

While I do feel that I have a decent knowledge of the detailed, technical stuff (algorithms, data structures, languages and concepts, etc), I'm lacking in the higher level program... design. How do I design and structure larger applications?.
For example, how would I know if I should design something as an object or function? What should I run as separate threads, and how do I figure these things out on my own?

Links or references to informative litterature or articles are highly appreciated, as well as comments!

Thank you in advance.

28 Upvotes

14 comments sorted by

View all comments

1

u/GhostrickScare Aug 09 '20

If you happen to know (or at least can somewhat read) C# or Java, this playlist is an excellent resource in my opinion for learning OOP programming patterns.

If you have any interest in game design at all, this web book is also a great resource, though probably not as good for your needs as the first one.

These are the two main places I learned from for how to structure my programs. Sorry I don't know any specific tutorials for the languages you mentioned. It also might be worthwhile to learn the very basics of functional programming, as there are design principles to functional programming that will help you out no matter what project you're working on. I don't have any good recommendations unfortunately, and I'm terrible at explaining stuff, but googling terms like "lambdas", "common higher order functions", "programming side effects", etc may be helpful. This video about functionally programming the game Snake in JavaScript was especially helpful for me. Best of luck!