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

Show parent comments

-16

u/NewThrowawayALready Aug 09 '20

OK, good luck with that.

If you want to learn to do something, eventually you have to do it, but sure, go study more, everything is to be found in a book, right?

0

u/[deleted] Aug 09 '20

[deleted]

-3

u/NewThrowawayALready Aug 09 '20

I do have an interest in fucking up the online ad model. What's the connection to my post? lmao

Getting a lot of downvotes, it makes me think this sub is made up of CS students with no experience.

What OP is looking for is not found in a book, he's asking "how do I know how to structure my code", the answer is "write some code and find out". I've seen plenty of aspiring programmers caught in the same trap of "studying".

It's like an apprentice carpenter asking "are there any books on how to hold a chissel properly when wood turning?"

4

u/[deleted] Aug 09 '20

This post happens when you have no theoretical grounding. "Write some code and find out", and how should one know that the code they write is good or not? Also there is something called good practices. And the can be found in books.

-3

u/NewThrowawayALready Aug 09 '20

" This post happens when you have no theoretical grounding "

m8, I've got a degree in CS just like everyone else. The only theory for what OP is asking are some design patterns, but knowing design patterns doesn't tell you how to organise code the right way. Instead of thinking "what DS do I use", he'll ask "what pattern do I use".

Software development is a craft, you git gud by doing it, not by reading about it. OP (and most of this sub) are stuck at the "beginner" stage, scared to try actually making something not explained step-by-step in a book for them.