On Friday, September 12, 2014, Ep Ga <epg...@gmail.com> wrote: > I just... I just find it more easier to understand ES5 than Es6... A few > of there new addition I can see of use, but for most I'm cloudy on... I > just want to be able to always use ES5 with addition to it as ES+... I like > the callback hell, and node have module that can be use to break it down > into an saner view. > > I'm ES5+.... Just won't some comfort knowing that i can use it's style > instead of this new syntax style....
As I've told you several times, on several threads, over several mailing lists: you may use whatever parts of the language you feel comfortable with—no one will force you to use anything. > > Generators, why do they have *? Couldn't the yield sign defined a behavior > of the function to a generator behavior? Because yield is not a reserved word and making it so would break code in existing functions that may use that word as an identifier. function* is a new syntactic boundary that eliminates this hazard. This is well documented. > And even understand or better yet compwthending the act of generator is > not clear to me.... > > And why couldn't they be a key word instead of adding a funny syntax to > it? Like Geneator(); and generator(); For the same reason as above. > for both constructor and statment? > > And promise??? > > I just.... Anyone care to give a feedback? There exists ample discussion and publications covering the use cases and history of generators and promises in both JavaScript and other languages. Rick > -- > 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 nodejs+unsubscr...@googlegroups.com <javascript:;>. > To post to this group, send email to nodejs@googlegroups.com > <javascript:;>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/10e28c5d-2f28-4cfa-b46a-47d8b5a97993%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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 nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAHfnhfoh5knVKPxS3gdvZp-NYGY5AXTLepzK8pceewSwFJSRoQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.