For ES6 features I apply the library / application line.

I avoid using something complex in library implementations, that includes
promises, generators, flow control, web frameworks. This is mainly to make
individual libraries as lean as possible, you can still use dependencies to
hide implementation details for actual implementation things like `request`
or `ncp` or `levelup`.

For applications you can go crazy, I've gone 100% generators in node
applications and I'm going 100% generators in node app tests.


On Tue, Jul 2, 2013 at 12:22 PM, Trevor Norris <trev.nor...@gmail.com>wrote:

> Unless the ES6 spec for the feature is complete and implementation in v8
> is well tested it, at the least, won't be going into core. For example,
> callbacks called through generators cannot be inlined. This leads to
> significant performance degradation. As far as personal projects, feel free
> to experiment. Just keep in mind how much community traction you're looking
> for.
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> 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 nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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 nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to