Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up`each` instead of `forEach` #613
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
domenic
Jun 17, 2016
Member
See https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md, which was linked in a big yellow warning at the top when you created this issue.
|
See https://github.com/tc39/ecma262/blob/master/CONTRIBUTING.md, which was linked in a big yellow warning at the top when you created this issue. |
domenic
closed this
Jun 17, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
zwhitchcox
commented
Jun 17, 2016
|
Umm, no it wasn't, but ok |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
zwhitchcox
Jun 17, 2016
Well, I didn't see it. And anyway, there's no link to submit a new proposal on that site.
zwhitchcox
commented
Jun 17, 2016
|
Well, I didn't see it. And anyway, there's no link to submit a new proposal on that site. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Lysande
Jun 17, 2016
@zwhitchcox yes, there is:
"Feature requests for future versions of ECMAScript should not be made in this repository. To make a feature request, post to the es-discuss mailing list."
"If you have a new proposal you want to get into the language, you first need a TC39 champion. Head to es-discuss to find one."
Lysande
commented
Jun 17, 2016
|
@zwhitchcox yes, there is: "If you have a new proposal you want to get into the language, you first need a TC39 champion. Head to es-discuss to find one." |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
zwhitchcox
commented
Jun 17, 2016
|
Ok, thank you, I have initiated the process to get that done. |

zwhitchcox commentedJun 17, 2016
I'm not sure what the exact process is, but I hereby propose we create an alias,
eachforforEach.This falls in line with the nomenclature of iterative Array prototype functions in javascript, e.g.,
every,some,filter,reduce, etc., of having one word to describe the loop. It creates cleaner code, is more precise, and just looks better. It's also a pain to have to writeforEachrather thaneach, and, frankly, the other languages are laughing at us about this.So, let's write some cleaner code with with
eachinstead offorEach!