r/learnjava • u/anupsidedownpotato • Oct 04 '19
So stuck and far behind I feel like computer science isn’t for me anymore
I’m current in the next CS class for my university and it’s absolutely awful. The professor didn’t teach hardly any java syntax or how to even write it just showed us some examples and said figure this out own your own and now I’m sitting frustrated out of my mind trying to do a project I don’t even know how to do. I really loved my last course bc of the professor and the way he taught python but this professor has made it so frustrating that I feel like dropping out.
22
Oct 04 '19
You've just experienced been taught by a professor that's horrible in teaching. It's not you. Push harder.
1
5
u/bxncwzz Oct 04 '19
Yeah I really think everyone needs to go through at least one professor like this.
10
u/noodleLinux Oct 04 '19
I am guessing you have some background knowledge about Python. I can safely say that most languages are relatively similar or the same but the syntax is just different. Don't worry about it. Plus, can you break down the project for yourself? Bring a paper and break down the parts this project will have. For example, in a part of the program, you need user's input and you don't know how to get that. Just search for how to get user's input in Java. You have to store user's input in a 2 dimensional arrays, let's say. You don't know how to do that? Just search for it. All I am trying to say is break it down in small implementable pieces so that you have a clear idea what part of the project you already know and what other part/s you don't know
3
u/anupsidedownpotato Oct 04 '19
I’m going to take this advice to heart bc I keep getting told this yet I try doing the entire project at once. But that’s also how my ADHD brain works :( thanks for that comment
7
u/noodleLinux Oct 04 '19
That's a big mistake. No one can do the project at once without breaking it down to smaller steps and milestones. What I personally do is I think of the project and I then try to draw the program flow the way I think about it. I write down little comments under each step, these could be things I know or don't know how to implement. This will reduce stress and will give you a clear understanding of what the project requires to implement or to learn and then to implement
1
3
Oct 04 '19
[removed] — view removed comment
1
u/anupsidedownpotato Oct 04 '19
Thanks. Yes if only we could harness the hyper focus and not just have it on random things that aren’t even important
1
Oct 04 '19
My first java professor made us write programs by hand, symbols and all to drill down the syntax. I would never do that now but then it did help.
8
u/sensiblymadman Oct 04 '19
I’m in the same boat to an extent. Power through, brother. You can do this!
5
u/anupsidedownpotato Oct 04 '19
Thanks, it’s the worst feeling ever.
9
u/sensiblymadman Oct 04 '19
Take a deep breath, try to break the problem down as small as you can, and go from there. Set a timer-20 minutes working, 10 on a break. 20 minutes on, 10 off. 20 on, 10 off. I’ve got an instructor who’s a great (presumably) programmer and socially awkward/can’t lecture for shit. It’s made it difficult to learn the language. I just keep pushing through, and if I can, you can too.
4
5
u/toshels Oct 04 '19
My first programming class was java, we got taught syntax but we never got taught what is encapsulation, inheritance and stuff like that. Now when I'm done with Java we had to pick up two new languages, I picked up python and c++, we don't even have lectures we have lab work and that's it, out lecturer told us if we want to be programmers we have to learn ourselves because that's going to be our life once we're done with University and I agree with him. This doesn't mean you should drop all courses and switch majors you just have to find a way to learn that works for you. I somewhat understand how programming works so some simple syntax tutorials like w3schools works for me. Explore and find your way to learn.
5
u/anupsidedownpotato Oct 04 '19
That makes sense but what angers me is that if I’m paying to be taught a certain subject they should have someone who actually teaches i.
1
u/toshels Oct 04 '19
I totally agree with you. Thank God my country has free education.
It could get worse, on my first year we had computer graphics course where they explained us how computer understands which pixels to turn on the straight line (bresenham) and other algorithms we just started learning Java and no one had idea what to do and what is happening, all of my lab classes was just writing down the code from teachers projector.
I never visited computer architecture and computer networks because my lecturer never taught us anything, he just spoke about politics, made fun of people etc. So I decided I would rather sleep or go work out than listen to him ranting about situation in my country.
3
Oct 04 '19
You can do it man! I think everybody goes through phases like this, just keep working at it.
Also office hours help a lot
2
3
u/alex_b98 Oct 04 '19
Keep struggling, OP. I was and am in the same boat. Since I started CS, it has all been a frustrating vagueness, and there are so many questions you can ask at a lecture, because it gets to a point where you are so confused you don't even know what to ask anymore. But after looking at the slides and online lectures until I felt I was going mad, I slowly started to figure things out. But I feel you, it sucks and it shouldn't be like that. I know it is university, and I don't expect any hand holding, but I feel like some of my courses are being made to seem complicated on purpose. Have perseverence, OP. Good luck.
3
u/anupsidedownpotato Oct 04 '19
it gets to a point where you are so confused you don't even know what to ask anymore.
exactly how I feel. Thanks for the words!
2
u/letschat6 Oct 04 '19
What is the project? I can try to help as I'm in a Java class currently too and I feel like I understand so far. My prof isn't the best either.
1
u/anupsidedownpotato Oct 04 '19
It’s using a Canvas class and 3 other shale classes and drawing them recursively at least seven times. I just made another post about it if you’d like to check that out but it’s just a small snippet. Thanks!
2
u/letschat6 Oct 04 '19
Oh ouch, I don't think we're that far into it yet but I wish you the best of luck!
2
u/anupsidedownpotato Oct 04 '19
Yeah our class isn’t that far either but he likes to “think” we are and makes the labs brutal and the projects even worse. After this project I still need to finish my lab from Tuesday. Send thoughts and prayers
2
u/PointB1ank Oct 04 '19
I will say that in a lot of CS curriculums, the 2nd programming class is often the weed out course for the major. Normally the first course is fairly beginner, since some students might take it as an elective or for a minor. But for the 2nd course, its expected you're there for either a major or a minor in CS or a similar degree. So they generally kick it up a notch to see who can keep up. That being said, I've heard of plenty of people in your shoes that almost quit, but continued on and became great programmers. I'll also say that the major won't get any easier, and if it's something you're really interested in, maybe continue in the class and withdrawal before the deadline if you need to. Withdrawing from a class and retaking it isn't the end of the word. It might delay your degree by a semester, or maybe 2, but an extra 6 months or year of your life isn't a big deal. I'll look at your other post and see if I can offer and suggestions.
1
2
u/karthikgn97 Oct 04 '19
Don't let your professors decide your path ! It's true that they would have an influence, but if you really feel like the language/concept is worth giving a shot, then try learning it on your own. The internet is your best friend here !
1
2
Oct 04 '19
Try hyperskill it's free, I'm learning java there now it's so good, they have theory with exercices and projects to do. You can choose what topic to learn and skip those you already know.
2
u/anupsidedownpotato Oct 04 '19
Thank you I’ll give it a shot. I’m just hesitant at doing that type of things because that means o have even more things to do when I can barely handle my course load rn
2
u/shinefull Oct 04 '19
It's university my friend, you are supposed to self study.i suggest reading Head First Into Java as it had a varied approach which is great for people who have ADHD.
1
2
u/Java_Junior Oct 04 '19
Don't blame yourself. Sometimes you just get bad instructors. It doesn't mean you should give up on your career goals.
Get mad and get energized. Post your code problems here and use Google to find answers. Check StackOverflow. You will work your way through it if you try.
1
2
Oct 04 '19
Never stop asking for help. Never stop trying. Commit to studying the language outside of class. You will be successful.
1
2
u/inkylinguist Oct 04 '19
Many, if not all, universities should have an office dedicated to helping students find support for their classwork. This office might be called something like "Student Services" or "Student Success Center." The people who work in those offices are able to point students toward all of the resources on campus where they can get help, including paid tutoring, but also free peer support and self-guided skill development. I bet that you are not limited to just your prof's office hours and your classmates' help. There also might be student programmer clubs at your university. If you can find one, it would be a good place to go to ask more experienced students for advice on how to get through the class. Good luck and try not to let it get you down!
2
1
1
u/Ii_kazuma Oct 04 '19 edited Oct 04 '19
Does your corse has a lab?
1
u/anupsidedownpotato Oct 04 '19
I’m not sure what a lap is
1
u/Ii_kazuma Oct 04 '19 edited Oct 04 '19
Do you have different classes Lecture and lab classes or only one In case of java the lab will be computer lab
1
u/anupsidedownpotato Oct 04 '19
We have a lecture 3 days a week and a lab once a week spilt into sections for the lab
1
u/jmacc7878 Oct 04 '19
I had similar problems too. Always got left behind couldn't catch up, blaming the professor and I wasn't sure before i started if cs was for me. But strangely despite underachieving I was starting to like cs and programming. And now I started doing a lot better. I may not be the smartest and I don't feel I am naturally gifted in this field but working hard and staying ahead its important. Also being a cs student mean you should be able to research and learn things by yourself. Many professors intentionally don't share information(just like yours) so that you will be forced to think, research and learn. Keep in my that other students will be in your position. But maybe they are willing to get out of that position by working harder.
1
u/anupsidedownpotato Oct 04 '19
Thanks for the reply, I do think this major has probably the highest percent of people “feeling” under qualified but that’s just my thought or imposter syndrome or something
2
u/jmacc7878 Oct 04 '19
Yeah totally know where you are coming from. But i don't believe that everyone with a successful career in cs didn't get these feelings at some point. So since you liked the previous course you should probably stick around for a bit.
1
Oct 04 '19
I had the same experience in my intro class. Teacher was terrible and I was totally lost. I basically had to teach myself everything at the beginning. It was tough, but once you push through and you figure out the basics everything makes a lot more sense. It takes a lot of time and patience. And once you know the syntax to Java, you will basically know the syntax to other languages like python, c++, c#, etc...
Good luck!
2
3
Oct 04 '19
Try hyperskill.org; their currriculum, challenges and projects will help you tremendously
2
u/GuyWithLag Oct 04 '19
University or college? For uni that's par for the course - you need to learn how to learn, use the TAs.
Professionally, it will not get much better - you will always be doing things that you don't necessarily did before / know how to do.
1
u/stupidredditwebsite Oct 04 '19
What really helped me was writing code test first. Try doing that for bits your stuck on.
1
u/lestrenched Oct 04 '19
Personally, I've never learnt anything from professors. I shudder to think if I had been born in a time without the internet. Stack Overflow is my saviour, and well, most of the time I just copy the code and then modify it to suit my code. So I don't think you'll run into trouble unless you're copying entire projects out of it (I don't think you have much chances of doing that tho as people over at SO want you to learn it yourself so they only help you as much as required)
1
u/lestrenched Oct 04 '19
Personally, I've never learnt anything from professors. I shudder to think if I had been born in a time without the internet. Stack Overflow is my saviour, and well, most of the time I just copy the code and then modify it to suit my code. So I don't think you'll run into trouble unless you're copying entire projects out of it (I don't think you have much chances of doing that tho as people over at SO want you to learn it yourself so they only help you as much as required)
1
u/rsandio Oct 04 '19
I really struggled going into Java after doing very well in python. Throughout uni your gonna have professors with teaching styles that aren't gonna work for you so you'll need to find other resources for your learning. For java I found YouTube tutorials were my main area for study. Thenewboston has some great videos which helped me alot.
2
u/AutoModerator Oct 04 '19
Please, don't recommend/use thenewboston.
They are a discouraged resource as they teach questionable practice. They don't adhere to commonly accepted standards, such as the Java Code Conventions, use horrible variable naming ("bucky" is under no circumstances a proper variable name), and in general don't teach proper practices, plus their "just do it now, I'll explain why later" approach is really bad.
Derek Banas covers about the same ground, but in much better quality.
If you're looking for an in-depth, comprehensive, high quality, free Java course, use the MOOC Object Oriented Programming with Java from the University of Helsinki and maybe Java for Complete Beginners by John Purcell as secondary resource.
I am a bot and this message was triggered by you mentioning thenewboston. Please do not respond to this comment as I will not be able to reply.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/DvusIV Oct 04 '19
Hey buddy, I was in the exact same boat last year as you are now for Java. Just invest some extra time into it each week and use other resources such as hyperskill/YT to learn. I felt that learning through lectures was really hard and would often find myself frustrated for not understanding a concept. Be resilient and keep your head up :)
1
Oct 04 '19
im in the same boat but i figure it out by watching youtube videos.
find the name of the method or whatever you are trying to use, then watch some videos explaining how to use it
1
u/whooyeah Oct 04 '19
So don’t do computer science, just write programs. Many have had great careers writing software with nothing more that finishing high school.
1
u/leafyo Oct 04 '19
My lecturer is also not the greatest. I feel like I'm learning the material by myself. I am so behind and there's an assignment due in 3 weeks. I don't want to fail either.
1
u/runtzlerz Oct 05 '19
Stick with it. I regret leaving CS and now I am hoping to get into the software engineer field by self studying. The things I thought were hard to understand I learnt it myself through looking at different sources and just kept digging. Seriously dont quit
2
1
Oct 04 '19
[removed] — view removed comment
1
u/anupsidedownpotato Oct 04 '19
It’s a recursive fractal shapes project where I need to use a given canvas class to draw a shape recursively 7 times. But i can’t even get it to draw a shape regularly so I can’t actually test my code. I have another post about it but if you need to see more code just ask!
23
u/sweetczylove Oct 04 '19
I’m in the exact same boat. Literally the intro course for the major and I do not understand the assignments at all. I have some friends in the class who have figured out the assignments but I just feel so dumb asking them for help over and over. Maybe try going to office hours for some advice! We’ll get through this!