Re:The Hitchhiker's Guide to Modern JavaScript Tooling
by TazeTSchnitzel on Sunday July 26, 2015 @10:24AM
(#9951109)
> Well, you do at minimum need something that understands CommonJS modules, if you want to pack isomorphic code to run in the browser, so you need Browserify or Webpack.
No, you don't. These are optional. You only need these for larger applications that need packing.
> And you need a module downloader that resolves and installs dependencies, so you need NPM and/or Bower.
No, you don't. You can manually keep things up to date.
> And, if you want to write unit tests (which you should!) then you need a Javascript test harness, because otherwise you're going to have a bad time instantiating your modules and injecting mocks into them.
Okay, you probably do need this.
Re:The Hitchhiker's Guide to Modern JavaScript Tooling
by lowboy on Sunday July 26, 2015 @12:45PM
(#9951501)
> No, you don't. You can manually keep things up to date.
Sure, but there are better things I could be doing with my time.
Re:The Hitchhiker's Guide to Modern JavaScript Tooling
by dasil003 on Sunday July 26, 2015 @05:19PM
(#9952229)
Like debugging broken build tools? Or what about inter-tool incompatibilities? Those are always fun to figure out.
Re:The Hitchhiker's Guide to Modern JavaScript Tooling
by yoklov on Monday July 27, 2015 @11:47AM
(#9955847)
This does not take as long as you seem to think it does.
Re:The Hitchhiker's Guide to Modern JavaScript Tooling
by Killswitch on Sunday July 26, 2015 @11:57AM
(#9951367)
Your first 2 responses fit into this category:
> people who just don't have enough problems in their lives already.
And you need a module downloader that resolves and installs dependencies, so you need NPM and/or Bower.
And, if you want to write unit tests (which you should!) then you need a Javascript test harness, because otherwise you're going to have a bad time instantiating your modules and injecting mocks into them. You could do this in just plain Node, sure, but you'll end up reinventing a lot of wheels if you do. So you need Mocha, or something very like it.
But build tools are sort of a luxury, sure. You can get by just fine with make, if you already know how to use it. And nobody needs transpilers, except people who just don't have enough problems in their lives already.