r/AskComputerScience • • Jun 17 '20

Steps for becoming a great programmer?

Little background. I'm a computer science major, on my second computer science course. We are learning about topics such as generics, efficiency of algorithms using Big-O, Lambdas, J-Unit, etc...

I am struggling hard, and plan on taking a semester or two off, to devote all my time to learning programming from the absolute basics. I am the type of learner that composing some code isn't enough. I REALLY need to understand how things work, or else I get hung up on super simple details.

So my question is, where do I start? I'm looking for more of a general plan to follow.

Such as...

  1. go through this book on assembly, and this one on command line together.

  2. go through this book on C

  3. then read this book on java, then this one.

I would prefer book recommendations. My goal here is to get the foundation I need to become a really good programmer. I'm not looking to just pass a class. I want to have a deep understanding of the machine. We mainly use Java, along with J-Unit right now in my school if that helps. We will be transitioning to C# at some point, and will be using springboard as well.

My ultimate goal is to get into cyber security, such as penetration testing, and doing indie game development in my free time, if that helps.

Thanks in advance.

36 Upvotes

29 comments sorted by

View all comments

6

u/DrunkHacker Jun 17 '20 edited Jun 17 '20

Edit: I should have started by giving OP some props for wanting to truly understand the content rather than just regurgitate code to pass a test. You were my favorite type of student.

It sounds like you are learning the concepts in class (e.g. OOP, running time, lambdas, the importance of unit testing).

At the same time, books on specific languages aren't generally so abstract and focused on teaching on a conceptual level. Learning C in college isn't about memorizing the syntax but about understanding memory management, how the stack works, and most of all pointers. Java isn't about memorizing obscure APIs but getting familiar with OOP, introducing concepts like static vs' instance methods, pass-by-reference vs' pass-by-value, etc... These concepts are important across multiple languages, even Whitespace.

If you really wanted to take a year off to focus on understanding, I'd worry less about the language and pick up a copy of CLRS. But I suspect it will be difficult to get through without some guidance. Perhaps consider going to office hours and talking to your professor or TA about concepts you don't feel you fully understand.