News for hackers. Stuff that matters.
Re:Ask HN: If you were teaching web apps, what would you hav... by Scriptor on Wednesday July 21, 2010 @01:02AM (#1534402)
Javascript needs a lot of attention on its own since it has different best practices from other languages. At the same time, apps can be made more fun to play with if you know basic DOM manipulation. It will also be necessary to teach how to properly organize an ajax app (don't just send html or eval code, use json and separate concerns between client and server).
Re:Ask HN: If you were teaching web apps, what would you hav... by InclinedPlane on Wednesday July 21, 2010 @02:42AM (#1534546)
Quite true. If you approach javascript with the notion that it's fundamentally similar to C++ or Java then it will look like a crazy mutant language create by insane sadists. If instead you approach javascript on its own terms and understand its fundamentals and how to use it properly then you will be far less frustrated and far more satisfied with javascript as a language.