Most upvoted comment
Top rated programming books on Reddit rank no. 4
2nd year CS student. Starting to lose confidence in myself.(r/learnprogramming)
I think it sounds like you need more practice. I’ve taken lots of CS classes at several schools, and I’ve found most don’t assign enough actual programming. This is true especially if you’re getting stuck at the compilation and troubleshooting step.
You need to program. A lot. Don’t be afraid to write programs just for the sake of writing programs. You’ll get used to tricky things like pointer syntax. You’ll become familiar with common compiler errors and how to quickly solve them. You’ll learn debugging techniques like when and where to comment out code or output print statements.
One site I like that will get you to write a lot of short programs: projecteuler.net/
Also, don’t be afraid to look outside of class for understanding of the concepts as well. Some teachers are just bad. Here’s a widely used, well-written textbook on data structures & algorithms:
Here’s the MIT open courseware lectures on data structures & algorithms (the Prof is a co-author of the above book)
Hang in there!
Permalink : /r/learnprogramming/comments/14du6m/2nd_year_cs_student_starting_to_lose_confidence/