3 ms·
Javascript isn't the best language to "learn to program". Syntax wise it's decent, but for at least us web developers, we shouldn't preach that to newly interes
by mkhalil 13y ago
Javascript isn't the best language to "learn to program". Syntax wise it's decent, but for at least us web developers, we shouldn't preach that to newly interested folk. You see how bad websites are today, and it's mostly due to abusing JavaScript. When people learn something they want to use it, and if they know JavaScript better then a good back end server lang, they create...a mess. Stop abusing my CPU!
- sejje 13y agoYou don't like what people build in it? That's a pretty silly anti-javascript argument.
- mkhalil 13y agoNo. That would be a silly anti-anything argument. Javascript uses client-side resources for execution. Build a crappy app (and they will because their learning), and it will freeze my browser/their browser. Other reasons why JavaScript sucks for learning programming: - You won't know you messed up until you execute your code - It's slow. - Debugging JavaScript code blows. And most tutorials don't even show users how to do that. - - ESPECIALLY IF YOU USE JQUERY - Too many to list.
- kyllo 13y agoThis complaint is outdated. The dev tools that come built in with browsers are pretty damn good these days. They provide a Javascript console and debugger, as well as a DOM inspector and a request inspector. So it's actually really easy now to figure out what's going on with your JS code. There are unit test frameworks for JS now too. Bad JS is still bad, but it's much easier to write good JS now than it used to be.
- ahuth 13y agoJavascript is definitely one of the best languages to "learn to program." This is because it's so easy to get something up and running - you don't need to figure out how to set up a development environment or how to compile something. You can focus on learning how to program. Yes, there is some really bad Javascript out there, but that's why we need this book.