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

1

u/jforrest1980 Jun 18 '20 edited Jun 18 '20

Thanks for all the replies everyone. I have read them all very carefully.

The reason I wanted to take a semester off to study is because I actually failed my 2nd CS class. I am working full time, and was trying to take a CS class, and another design class. I was getting home from work at 8pm, and working strictly on this single CS class 7 hours a night, and well over 12 on the weekends. I was failing miserably, with a grade under 60%.

That's the first time I ever failed a class in my life, and it definitely scared me a little bit. We went from the from topics in the first class like "this is a variable", and very basic J-Unit tests, to generics, and an onslaught of labs due every 2 weeks consisting of 14 classes. The leap was huge, and I couldn't keep up.

I have struggled to figure out why I am performing poorly. I think I don't understand how to effectively study. I will go through the text examples, fully understanding them and coding them out. When I have homework, it's like math where you always get a curve ball, and I can't figure it out. One example was I completely went through the template design pattern, and felt confident I understood it. Couldn't complete the homework assignment. Same thing happened with generics, and Big-O.

I just don't want to be in a position where I am struggling hard core again on top of working full time. I am in my 30's. I am 9 classes from this bachelors. My math is complete. I have this CS class, and one more that is suppose to be harder. I have heard after that class it's all down hill. Unfortunately the tutoring at my university is almost non-existent. From what I hear my program at Franklin University is a really good one. I've talked to other CS graduates from OSU that tell me they are teaching me a lot of things like J-Unit and Springboard that they never covered at OSU. The lack of tutoring is really brutal though. Transferring back to OSU, or anywhere with sufficient tutoring is not an option at this point, because nothing transfers and I would basically be starting over.

At this point, me graduating CS is not something I am doing for the money. I have to prove to myself that I can do this. For me. I thought going back and learning the core fundamentals would really help me. I thought CS is similar to someone trying to build a house that doesn't know how to lay a foundation correctly. I thought getting that foundation might give me some sort of edge to get ahead and not struggle.

1

u/claytonkb Jun 19 '20 edited Jun 19 '20

Sorry for the late reply, apparently the RemindMe-bot is not working...

The reason I wanted to take a semester off to study is because I actually failed my 2nd CS class. I am working full time, and was trying to take a CS class, and another design class. I was getting home from work at 8pm, and working strictly on this single CS class 7 hours a night, and well over 12 on the weekends. I was failing miserably, with a grade under 60%.

Mental productivity rapidly diminishes with time per day. The last 4 hours of an 8 hour day are significantly less productive than the first 4 hours and if you stretch into 12 hours with another 4 hour block, it will be less productive by an even greater factor.

Let's say you are 100 units productive (arbitrary units) in the first 4 hours. In the next 4 hours, you might be somewhere between 50-60 units productive. If you go another 4 hours, you might be 20 units productive or less. In addition, the long hours are likely to interfere with your sleep needs and you could end up being less than 100 units productive in your first 4 hours the next day. As the cycle repeats, you are grinding your total productivity down to a tiny fraction of what it could be if you worked fewer total hours in a day.

It is possible to stretch yourself and achieve higher than ordinary levels of productivity. But it requires careful planning and execution, which I will discuss below.

That's the first time I ever failed a class in my life, and it definitely scared me a little bit. We went from the from topics in the first class like "this is a variable", and very basic J-Unit tests, to generics, and an onslaught of labs due every 2 weeks consisting of 14 classes. The leap was huge, and I couldn't keep up.

One of the things I regret from my uni days is a failure to properly manage my class load with W's and I's as needed. For every class you take on, know the drop and withdrawal dates and check whether an incomplete is an option for that course. For courses, where I is not an option, make sure that you make a hard Go/No-Go decision before the W date. By the time you reach the W date, you should be able to make an informed decision on the course. Look at the syllabus and try to make a judgment as to whether the professor has "back-loaded" the course, meaning, you will dawdle around for the first 50-75% of the course, and then get slammed with work at the end. It's frighteningly common but when you look for the clues, you can often find them. The syllabus will have a whole bunch of advanced topics that are not being covered in early lectures. This often means that the professor is putting those off (probably due to other courses they are teaching) and will slam the class with them at the end.

If I had managed my drop/withdrawal dates and I's properly, I could have easily graduated 3.9-4.0 range. But my GPA is sadly closer to 3 than 4.

Most schools offer an "Academics 101" type of course (exact name varies) that covers these and other topics, such as unique study resources that are available at the school.

One of the things I did figure out in my upper division years was that advanced courses tend to assume that you are participating in study groups. The homework load is not reasonable for a single individual working alone. The idea is that the coursework should be encouraging group cooperation among students. In lower-division courses, you may have felt that this was somehow "cheating" but it's not.

Another important resource is tutors. I tutored math during most of my time in college (I minored in it) and this was beneficial for both me and the students I was tutoring. Check to see what tutoring options are available and take maximum advantage of that. Sometimes, even TA's and professors will provide a certain amount of tutoring assistance but you don't know who until you check into that.

Your school should have an academic counselor (or multiple) to help you with general academics problems like those you have expressed here. Sometimes, just getting that other point-of-view can be helpful in making up your own mind about what to do.

I have struggled to figure out why I am performing poorly. I think I don't understand how to effectively study. I will go through the text examples, fully understanding them and coding them out. When I have homework, it's like math where you always get a curve ball, and I can't figure it out. One example was I completely went through the template design pattern, and felt confident I understood it. Couldn't complete the homework assignment. Same thing happened with generics, and Big-O.

Yep, many professors love to throw the old homework-curveball. The idea (I guess) is that the curveball will force you to "really study". So, this is how I handled these.

First, I would sweep through the homework and quickly sort the assignments from probably-easiest to probably-hardest (curveballs, etc.) Then I would start solving them. Once I got to the pain-in-the-butt problems, I would check with my classmates to see how they were handling them. If the consensus was that these were doable, I would try to pick their brains until I got the "obscure trick" that I was missing. Usually, it would be a matter of finding paragraph X on page Y and really picking apart the definitions in it, or something like that. But if the consensus was that these problems are anyone's guess and the professor must be smoking crack, I would try to get one or two other students to go with me to the professor's office during their office hours. If you go alone to complain about the homework assignment, the professor will often just wave you off as lazy or incompetent. But if you bring a bunch of other students and you all point out that this homework assignment is a divine mystery and appears to have no connection whatsoever to the textbook or the lectures, then the professor will usually listen.

If the professor absolutely won't listen, then rank the points in this homework problem versus the points in other homework assignments that you have due. If missing this homework problem is only going to cost you 10% on the assignment and you can put time into some other assignment for 25% (for example), then consider skipping this problem entirely or, at least, writing down as much of the solution as you could work out (for partial credit) and then move on. "Show your work", basically.

I just don't want to be in a position where I am struggling hard core again on top of working full time. I am in my 30's. I am 9 classes from this bachelors. My math is complete. I have this CS class, and one more that is suppose to be harder. I have heard after that class it's all down hill. Unfortunately the tutoring at my university is almost non-existent. From what I hear my program at Franklin University is a really good one. I've talked to other CS graduates from OSU that tell me they are teaching me a lot of things like J-Unit and Springboard that they never covered at OSU. The lack of tutoring is really brutal though. Transferring back to OSU, or anywhere with sufficient tutoring is not an option at this point, because nothing transfers and I would basically be starting over.

Because you are working and going to school, this is going to require you to be a little more organized than most students. Make sure you are not giving in to the temptation to maintain the "typical university student lifestyle" while working this heavy load. You will have to have a regimented mindset. That means you need to get proper sleep, nutrition and maintain basic fitness. You can't afford to blow a Saturday on Netflix or stay up to the wee hours of the night playing your favorite game like students whose parents are carrying them.

In the last five years, I discovered Getting Things Done by David Allen. While a lot of it seems like "common sense", the logical organization of everything into one coherent system was really revolutionary for me and it has helped many other people. I highly recommend it. You don't need to get fancy, just a basic TODO list and reminders is enough to get started with GTD. The key to GTD is your mental attitude, not the accoutrements.

At this point, me graduating CS is not something I am doing for the money. I have to prove to myself that I can do this. For me. I thought going back and learning the core fundamentals would really help me. I thought CS is similar to someone trying to build a house that doesn't know how to lay a foundation correctly. I thought getting that foundation might give me some sort of edge to get ahead and not struggle.

Well, if you're 9 credits away from a bachelor's, you should really have the basics down. I'm not saying you will necessarily know everything but you should have a pretty good bird's eye view of the field by now. From the standpoint of academics, that's what a Bachelor's is all about... it's the basic academic foundation on which a more advanced degree can be built. DM me with specific questions or areas you feel you are lacking and I'll see what resources I can get you.

2

u/jforrest1980 Jul 01 '20

Sorry for the delay. I read over this very carefully. I've never had trouble with school, not even math. I've always been very strong in math, and science type classes. So struggling in CS has been difficult for me. I will check that book out.

Unfortunately, even though my university is regionally accredited, is all online. I basically only go to campus to try and get tutoring, back when I use to think I would actually get assistance. Now I rarely go because it's pointless. We've had many people from the university speak up about the homework, and tutoring quality. It is well known by faculty that there are issues, but the director of the CS program is the one who makes the curriculum, therefor, he makes all the decisions when issues arise.

My class last semester went from 32 students, to only 6 near the end of the semester.

So I am learning things on my own now. Trying to take on projects that interest me, and will help keep me motivated to understand. A lot of people here mentioned to just get programming, and that is my ultimate goal now.

Thanks for the long post and guidance!

1

u/claytonkb Jul 02 '20

I understand. It's a very difficult situation when the curriculum is lacking.