Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGlen Hayes
5,798 PointsGetting lost now
I was going really well, understanding most things until, BAM!, the learning curve just went sky high in these last few sections and I no longer even understand what the challenge questions are asking!?
For me to better understand what is going on should I just start the whole thing again from scratch as now, I have been following along with the videos for the hangman game and even though I thought my code was the same as Craig's, I am getting a bucket load of errors in my compiler!? I have tried working through these errors to better understand the process but I am unable to clear them.
I am struggling with Craig jumping from one class to the next and in the process I feel I am not retaining the previous knowledge I have just learnt as the code gets even more complicated.
Has anyone had similar experiences learning java? Any advice please?
4 Answers
Felipe Laso-Marsetti
3,158 PointsHi Glen,
Don't be discouraged. Learning to program is hard regardless of how Media advertises things like "learn to code in a day". I often find it useful, when learning something about programming, to go off and do google searches on terms, concepts, and items I don't understand. For example let's say you are stuck on comprehending references, or inheritance. Go google that and take your time to fully grasp the terms and concepts introduced.
This may lead down a rabbit hole of more and more searches but it's worth it. When learning I often find I struggle with something and walking away from the problem, doing other activities helps me. Sometimes I go to bed and during my sleep or the next day I wake up and say "OMG. I got it!".
I would also encourage you to post specific problems here on the forums, paste code samples and questions about what it is you wanna understand better and what you are stuck on. Trust me it can me frustrating, as a fellow Developer I know how you feel. But don't be discouraged. If your frustration grows a lot just step away for a bit. Walk around, have a soda, and come back re energized to tackle the problem.
I'll be around on Twitter if I don't reply here (sorry, my day job makes me not come here until nighttime). So check out my profile and ping me as I'd be more than happy to help :)
You are doing well, learning to code and mastering many concepts is hard. But we are here to help and the community is fantastic :)
Glen Hayes
5,798 PointsThanks for the response Felipe.
Yea, I took a break and am now going back over what I have learned to further cement it in an alternative way to what I did the first time and it seems to be helping. I will never get discouraged as I love this stuff!
Thanks again for the support!
Donna Norris
5,197 PointsI know it has been months since this was posted, but I wanted to comment in case anyone else is feeling the same. It's encouraging to know I am not alone.
Your problems here are EXACTLY the same as mine. I too find the learning curve has gotten to be too much, and in my opinion I would have felt this way sooner if it weren't for the fact I have some (very basic) previous experience with Java. I have also gotten to the point where I don't understand the code challenges and have actually resorted to skipping them and quickly watching the rest of the videos to make a note of any new code. I plan to begin from the beginning and work through again very slowly, as clearly there are things I must have misunderstood. This is very discouraging as I feel like I'm going backwards. My code too is riddled with errors I can't seem to fix as all the different classes/methods are one huge blur to me and I can't remember what half the code is doing while I work on other parts of it. I wish there was a complete copy of the code so far that I could go through to see what I have done differently to make so many errors.
For some reason I feel like the for each loop was not described well. The way it has been used here confuses me (I will rewatch the videos a few more times and compare it to descriptions elsewhere to help with this).
Also I think the introduction to basic concepts of java was a bit rushed...at this point I still am not sure of the differences between methods and classes, what variables can be used where, what variables should be passed in as parameters, and why bother using private and public...
To be honest I think some of these were perhaps explained well but moved on from too quickly and so were forgotten too fast. Right now I need more of a solid understanding in the basic concepts and less working step by step through code. Step by step worked well learning CSS and HTML but here notso much. If anything there should be more coding exercises (which need to be better and more explicitly worded ). I solved this by trying to code solutions of my own first then watching the video.
John Paige
7,436 PointsTreehouse happens to be a great curriculum with a very robust community and helpful staff/mods and students. With that said, I found Java to be a very logically challenging skill-set.
I agree with Donna Norris about working basic concepts and additional exercises. The experience of learning Java reminds me of when I first started Algebra in high school (Which i didn't do so well towards the end, due to poor work ethic). The curriculum that I worked with was Saxon, which used the system of introducing a new concept (or new layer of) on each lesson, and had a lot of review problems for the previous concepts. I think a similar system would be an excellent way to improve the learning curve even on Treehouse.
Even now i decided to use the book Programming Java For Dummies to try to internalize basic concepts more, as well as doing the previous challenges over again.
Tom Lawrence
8,685 PointsI got stuck on the last code challenge also, I must have missread it as I thought it wanted me to check if the first char was 'm' and make the second char uppercase so I was messing around trying to alter the string passed in to make the second char uppercase rather than just validating it! in the end I looked at the forums and found what someone did to get passed the challenge which I am not really confident I would have got because I did look at the java docs and didnt realise from there you can check out a character from a string with indexes, so I must have forgot something so im going back over the vids, making notes this time!