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

General Discussion

Advice!

Hi! Well i have a question, is it wrong that i don't get what the code does 100% . I do not know why this is happening but i hope i will get over it soon. Can you guys please share how you guys learned to code and was it hard? what did you guys/girls do to overcome the challenges. Please share your story.

Ibrahim!

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Absolutely not! These boards are filled with questions. And there's a reason for that. Coding is hard. It just is. Talking to a machine is not exactly natural. And computers are much dumber than an average user suspects. Everything it does, it has to be told to do.

But, it can be learned! It takes discipline, time, and above all else... practice! There is no better way to learn to code than to break your code and fix it. Even if it's just a simple little thing to try and print out the elements of an array, or multiply two numbers together using a function. If you're unsure that you can do it, try it! It's frustrating when things don't work. But for every single bug in your code that you fix, you've just decreased your future debugging time by a significant percentage. Eventually, you'll be able to look at an error and know almost immediately what the most likely problem is.

What you'll also notice if you stick with it is that you'll have these sort of "light bulb" moments :bulb: And I've been known to sit at my desk and say "Ohhhhhh!" out loud. Because it finally clicked.

And when you finally wrap your head around a concept as opposed to just a way to type something, you'll find that it carries over into other things. Different programming languages write things differently. They just do. But the big ideas and concepts behind them tend to be reusable. A loop, objects, functions, "truthy", "falsey", conditional statments, etc. are the same thing regardless of the language. It's only the implementation/syntax that's different. So once you get the concept, you'll find that when you go to a different language some parts feel very much like a refresher course.

My advice? Hang in there and practice :sparkles:

I really needed someone to tell me that. Thanks! :)