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

iOS Build a Simple iPhone App (iOS7) Refactoring into a Model Creating a Custom Class

If you provided hints or the correct answer...

...you wouldn't be wasting time having to respond to these emails!

WHAT IS THE ANSWER AND QUIT WASTING OUR COLLECTIVE TIME!

John Steer-Fowler
John Steer-Fowler
Courses Plus Student 11,734 Points

Hey Dan,

All the answers are in the videos. Giving hints or the correct answer would make people brush over the coding challenges therefore they wouldn't actually learn from the challenge.

I like how Treehouse do their challenges. If you get stuck you ask the community and chat to other people about coding (which is fun) :D

5 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

There are hints provided to you if you get the answer wrong. In addition, you can search through the forums either using keywords or just clicking on the tag in your own forum post. For example, your post has the tag "Creating a Custom Class", if you clicked on it then it will take you to a list of posts where others that have asked similar questions. I'm sorry that you find this a waste of time. The whole point of the code challenge is to challenge you to apply what you have learned in the video.

I think a lot of people here already touched on some good points, but The fact that you are dissatisfied with the exact hint of the exact problem is also not something that you will find in a real coding environment. Pounding your head against the wall for a few hours is sometimes what it takes as a developer, and I think Treehouse does a good job at forcing you to think like a developer has to think to creatively code on your own.

I have gone through much of the content here, and while there are some challenges that are tougher than others, generally re-watching the video can direct you to the right answer. If you get stuck, chances are you may have not fully understood the prior lesson, which may be an indicator to go over it again to make sure you arent missing something. This may just be my own learning style here, but I like the fact that sometimes I have to be forced to understand everything that was taught in order to move forward. Seeing too many hints or the actual answer can sometimes be less beneficial in the long run than struggling though the answer.

John, I disagree with you. In the early stages learning code, challenges should be teaching exercises, not testing exercises. Providing hints or the answer would move learning forward, not prohibit it. And the style of answer-checking in the challenges does not properly identify errors within code. For example, a missing ";" or "nil" both result in an error message that the variable was not implemented properly. Check out Code School sometime; they have a better method of teaching by example.

John Steer-Fowler
John Steer-Fowler
Courses Plus Student 11,734 Points

Hey Dan,

I also have a subscription to Code School and Treehouse. Something I prefer on CS and somethings I prefer on TH. Strangely I really like TH's code challenges, I find I learnt faster on here than on Code School, but I must say, you can't beat Rails for Zombies on Code School, that was an act of genius :D

James Barnett
James Barnett
39,199 Points
    @[Dan Szeezil](https://teamtreehouse.com/danszeezil) -

> the style of answer-checking in the challenges does not properly identify errors within code

I agree a lot of the hint/error messages don't correctly identify errors within the code.

So I generally ignore the text of them and treat them as pass / fail.


That being said I agree with Riley Hilliard ...

> The fact that you are dissatisfied with the exact hint of the exact problem is also not something that you will find in a real coding environment.

You don't need to throw the baby out with the bathwater and start giving away answers, more specific correctness checks that lead to more informative hints would definitely be a great improvement to Treehouse.

Greg Barbosa
Greg Barbosa
9,874 Points

100% agreed with John there. The answers are in the videos, sometimes we just have to go back, and re-watch with the question fresh in mind. If all else fails, searching around on the net and you should be able to find it pretty quickly. Asking here in the forums has proven to help a lot too.

Thanks to everyone for the quick responses!