Thanks Zlatko, much appreciated :) This is just for my own benefit, so I'll do as you suggest an use Node 4 with "native" ES6.
PS: looks like modules aren't supported yet. Am I right? I don't even see Modules on the compatibility page: https://kangax.github.io/compat-table/es6/ On Thursday, 5 November 2015 17:28:21 UTC+2, Zlatko wrote: > > This depends a little on what you plan to do with your node-fu. > > If you plan to learn a bit more, maybe work on your personal projects or > start something new in a new company, then I think you should just start > with Node 4 (the TLS version) and write "native" ES6. Even if you're just > learning at the moment, you can still go on and learn, because most of the > time the transpiler is set up only once, at the project start, and then you > forget about it. > > And if you plan to contribute to older codebases etc, you can just add the > transpile step later, and you're done. > > But if you plan to go work in a company already using node, or publishing > libraries that you expect will be widely used, be aware that a lot of > companies still use Node 0.10 and Node 0.12, and those apps will be around > for a long time. So working on something like that might even mandate the > use of ES5 only, without even transpilation. > > So TL;DR would be, just write ES6, worry about transpilation when you have > to. > > > > > On Wednesday, November 4, 2015 at 8:22:25 PM UTC+1, Willem Odendaal wrote: >> >> Node seems to be evolving rapidly, and I wonder what the community >> sentiment is around using transpilers at the moment. >> >> As someone just starting out, is it a good idea to use a transpiler like >> Babel to get most ES6 features? Or is the community moving towards using >> the ES6 features supported in Node v5? >> >> Just trying to get an idea of the preferred practice at the moment, >> before I head off in the wrong direction. >> >> Thanks. >> > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/9014df57-1aa5-4efc-b21f-3f4b73768558%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
