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 trial

Java Local Development Environments Advanced Tooling Refactoring

Daniel Hartin
Daniel Hartin
18,106 Points

Has anyone got the edited class to pass this challenge?

I have spent ages now trying to get this silly challenge to pass and have lost the will to live. It's not even that i'm unsure how to refactor code. I've made several apps and on all of them i've refactored several times, the problem I have is that the class names in the package the process uses to check against are hidden to me so all I get are unhelpful compile errors with half of the picture.

To be honest the code challenges on this Java course are by far the worst on any of the treehouse courses i've taken so far. I don't expect to code while watching the videos and then have to replicate the entire package again in workspaces (which is another frustrating tool as it lacks even basic syntax highlighting and doesn't indent correctly).

Rant over lol, i'm frustrated.

Sorry no code to post, it wouldn't matter anyway as it runs on my machine fine just the process checking in background fails.

Logan R
Logan R
22,989 Points

I haven't done the local dev env course, but I have to agree with you. It seems kinda weird that they want you to paste the code for an entire class in. They are assuming you are following along, line by line.

2 Answers

Hi Daniel,

I haven't actually done this course either but as to the coding and watching at the same time, I pause the video every now an then, and write my code in workspaces and then watch again.

Daniel Hartin
Daniel Hartin
18,106 Points

Hi Peter

Thanks for your answer, I did manage to complete these after taking a breather and coming back to it. I did find this particular course more frustrating than others I've taken but was even happier once it said track complete.

Great :)

I find sometimes that when I get into a pickle, it is the best thing to just drop everything and have a break.

Craig Dennis
STAFF
Craig Dennis
Treehouse Teacher

Hi Daniel Hartin !

Yeah I agree that the code challenges on this course specifically are quite frustrating, as I'm asking you to use the tool on your local machine and then submit them. Unfortunately I couldn't think of another way to accomplish this with our current infrastructure. Our developers here are hard at work making these code challenges easier to use for when we move to outside tools.

I could just ask a quiz question, "Did you do it?" but that seemed like I'd get "Come on I want to get tested better!" type of responses. I know that people enjoy being challenged and held accountable.

I gave it a swing this way, and hope to get better ways of having you emulate an actual professional environment. As we are getting further along, Workspaces get less and less realistic as to how you will actually be coding in the real world. And the code challenge engine doesn't even do code completion.

I hope to solve some of this in the future with Git and Unit Testing, but we haven't covered those yet in this course.

Thanks for sticking with it, and congrats on completing a frustrating challenge. I hope you did an air punch when you got it. That was what I was going for. The upcoming JavaFX course will rely on you knowing how to use IntelliJ IDEA, so it's worth your time.

Thanks for your feedback!

Daniel Hartin
Daniel Hartin
18,106 Points

Hi Craig

Yeah I found it a bit frustrating after being used to coding with android studio for quite a while now, it made me realise I've become quite lazy :(

I was particulary frustrated that night as I couldn't get the challenge to pass even though I knew what the challenge was asking me to do, I would of really liked to see the entire package in the challenge as my main issue was getting a name slightly wrong that was throwing references to code in the background which produces a really unhelpful compile error from workspaces, but never mind. I took a night off came back to it fresh and got through it.

Sorry if I came across a bit pessimistic, not usually my style but had a coding headache!!!

Thanks for the reply, looking forward to more courses, I've enjoyed the track and learnt some really useful techniques that I didn't know existed, even after using Java with android for a year or two now.

Thanks Daniel