3 ms·
> And really, there are only four classes of solutions. There might be a fifth solution: learn JavaScript. Its not actually that hard to be productive - I real
by bcg1 12y ago
> And really, there are only four classes of solutions.
There might be a fifth solution: learn JavaScript. Its not actually that hard to be productive - I realize mastery always takes time and effort, but its pretty quick to get started and be able to write some decent stuff.
I don't primarily code in JS but I keep it near the top of my toolbox. I'm not up to date with the latest and greatest (which I'm sure it getting better and better) but even in 2011 when I had the opportunity to do some stuff with node, I was pretty satisfied with what the language provided. Some of the syntax was a little verbose, but I can type pretty fast so no sweat.
I wouldn't be surprised if Crockford's jslint rules are not that relevant anymore... around 2008-2009 when I did more web stuff I used to make sure all my scripts could pass with `browser = true && global jQuery` (or whatever the format for the hint was), but even at that time much of that advice was starting to seem irrelevant.
- tracker1 12y ago`jslint`'s community mindshare was replaced `jshint`, and more recently `eslint`, which are configurable with a lot more options and some pretty sane defaults. Most of it comes down to opinion... I like comma-first and a few other differences from the norm. It's easy enough to change eslint to suit your needs. I'm using BableJS lately also, as even io.js options are still a bit incomplete by comparison. Modern (ES6/7) JavaScript is really nice to use.