Ask HN: Completed JS CodeCademy but still struggling. Other resources?
1–5 of 5 posts
Re: Ask HN: Completed JS CodeCademy but still struggling. Other resources?
#2That's not to say you don't have to think about it, or that your code will run perfectly the first time. Veterans don't walk around with the code for fact in their head. But you should be able to go through the process to getting the right answer.
It doesn't really matter how long it takes to get to the solution, do not feel bad that it's a struggle. The "this just doesn't make any fucking sense" feeling is normal for a new programmer, and it DOES pass.
Absolutely resist the urge the just search for the answer. That pain you feel in your head is part of the learning process.
Good luck with your challenge!
Re: Ask HN: Completed JS CodeCademy but still struggling. Other resources?
#3Learning more about the language is always going to help, though. I would suggest doing the CodeCademy track a second time to see if you've improved. Focus on writing efficient solutions that are better than what you would have done your first time around. Once that is done, give these resources a go:
- http://codeschool.com - http://lynda.com - http://teamtreehouse.com
I would also suggest purchasing these books, as they are somewhat the standard learning and reference resources:
- JavaScript: The Good Parts - JavaScript: The Definitive Guide
There are other books that will help tremendously, and a list of free ones can be found at http://jsbooks.revolunet.com
Other books I recommend:
- Eloquent JavaScript - Effective JavaScript - High Performance JavaScript - Maintainable JavaScript - Principles of Object-Oriented Programming in JavaScript - JavaScript Patterns - The Past, Present and Future of JavaScript - JavaScript Enlightenment - Secrets of the JavaScript Ninja
Re: Ask HN: Completed JS CodeCademy but still struggling. Other resources?
#4Honestly, yes factorial functions are really basic stuff. You should definitely have the tools necessary to implement factorial both iteratively and recursively after a brief into to Javascript. That's not to say you don't have to think about it, or that your code will run perfectly the first time. Veterans don't walk around with the code for fact in their head. But you should be able to go through the process to get…
For example, the very first challenge (string reversal) in some languages you'll get a reverse function right off of the string, but in others you have find another way, which may involve getting access to each character and rebuilding the string by hand.
Try solving the same simple problem as many DIFFERENT ways as you can, that can really help flesh out basic understanding the way to Get Things Done in that language.