3 ms·
I battle with the same problem with my students. I love teaching Python, and I think it is a fantastic teaching language. JavaScript, although harder to learn,
by MarcScott 12y ago
I battle with the same problem with my students. I love teaching Python, and I think it is a fantastic teaching language. JavaScript, although harder to learn, is much more exciting for the students to play with, and libraries are always just a link away.
My main reason for not switching completely over to teaching JS, is the nightmare that is debugging simple syntax errors.
- codecurve 12y agoMost editors have a JSHint plugin, which will check your code as you go and point out when you've made a syntax error or used a bad practice. I use it with Syntastic + Vim and it's a long time since I've ever loaded up code in a browser and there's been a syntax error. Definitely worth checking it out if that's the last hurdle before switching.