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

Joseph Torres
Joseph Torres
6,282 Points

Beginning to understand Algorithms and logic for JS!

I've been trying to understand for some time what it is that I'm having the most trouble with in regards to JS and any other language and that is my approach to Algorithms. I used to think that for a while that when creating a function for example, there was only one way to make it work and if I didn't know that exact way then I would be doomed. For example there's a way to write a file which has a certain naming convention, I would think that a certain algorithm has a certain "naming convention" and I was breaking my head trying to figure out that specific way. It just dawned on me that if there's a problem I have to solve, there a many ways to do it but what is more important is what is the best approach. I believe that my attitude and approach to working out algorithms has to change in my mind first. Please someone tell me if this makes sense. Thanks...