proposal-iterator-helpers

Methods for working with iterators in ECMAScript (by tc39)

Proposal-iterator-helpers Alternatives

Similar projects and alternatives to proposal-iterator-helpers

tc39
proposal-iterator-helpers
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better proposal-iterator-helpers alternative or higher similarity.

proposal-iterator-helpers discussion

Log in or Post with

proposal-iterator-helpers reviews and mentions

Posts with mentions or reviews of proposal-iterator-helpers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-08.
  • I was wrong about array methods and generators...
    3 projects | dev.to | 8 Sep 2024
    In fact, the developer experience around iteration utilities is so great that there is an active Stage 3 ECMAScript proposal right now (as of writing) that aims to officially add lazy iterator helpers to the language. When this is more widely supported, expect a follow-up article to this one that investigates the would-be C++-backed helpers.
  • JavaScript weakmaps should be iterable
    1 project | news.ycombinator.com | 20 Aug 2024
    Many of these are at stage 3 of the standardization process and have a good chance of shipping soon: https://github.com/tc39/proposal-iterator-helpers

    (They're not on objects, which I think is probably for the best; every method on Object.prototype is a shadowing risk and so we're unlikely to see any besides the ones that already exist. You can always use Object.entries; if your object has so many dynamically-computed properties that eagerly collecting them is a performance concern, then it should probably be a Map.)

  • More Itertools
    3 projects | news.ycombinator.com | 27 May 2024
    Shout out to JavaScript massively delaying https://github.com/tc39/proposal-async-iterator-helpers in the 23rd hour.

    The proposal seemed very close to getting shipped alongside https://github.com/tc39/proposal-iterator-helpers while basically accepting many of the constraints of current async iteration (one at a time consumption). But the folks really accepted that concurrency needs had evolved, decided to hold back & keep iterating & churning for better.

    I feel like a lot of the easy visible mood on the web (against the web) is that there's too much, that stuff is just piled in. But I see a lot of caring & deliberation & trying to get shit right & good. Sometimes that too can be maddening, but ultimately with the web there aren't really re-do-es & the deliberation is good.

  • What's New in Node.js 22
    4 projects | dev.to | 21 May 2024
    Support for new JavaScript features, including Array.fromAsync(), Set methods, and Iterator helpers.
  • TC39: Add Object.groupBy and Map.groupBy
    6 projects | news.ycombinator.com | 19 Dec 2023
    Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers

    But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-array-grouping/issues/51#is...

    Global iterable type it's too late for, since there's many extant iterables in the language and on the web which don't have it in their prototype chain and can't reasonably be changed.

  • Lodash just declared issue bankruptcy and closed every issue and open PR
    7 projects | news.ycombinator.com | 16 Sep 2023
    Very much agreed. The amount of mileage we get from using Spread (literally the ...) alone has been amazing. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... Iteration helpers is shipping soon, that'll be a huge help (async iteration helpers will be delayed for a while). https://github.com/tc39/proposal-iterator-helpers .

    In the olden days, I feel like the codebases I worked on needed to use .apply() multiple times a week, to figure out some creative way of invoking functions. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... That's all gone now; I'd take even odds that 50% of my team knows .call and .apply.

    Chrome 117 is shipping Object.groupBy() and that's gonna be a huge help in eliminating a lot of the last places we end up using lodash. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

  • It’s 2023. Start using JavaScript Map and Set
    3 projects | /r/webdev | 15 May 2023
    Once this https://github.com/tc39/proposal-iterator-helpers reaches browsers, I'm prob gonna be exclusively using Maps.
  • Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes
    4 projects | /r/javascript | 29 Apr 2023
  • Updates from the 95th TC39 meeting
    3 projects | /r/javascript | 25 Mar 2023
    No, probably not. But with iterator helpers, you can do
  • All JavaScript and TypeScript features of the last 3 years explained
    11 projects | news.ycombinator.com | 9 Mar 2023
    > focus more on improving the terrible JS web API

    That's W3C’s job, not ECMA’s.

    > Where are all the containers?

    ?

    > Sorted sets/maps?

    Sets and Maps are sorted (by insertion order)

    > Why can't I even map an iterator?

    It's coming, but someone will likely be exhausted by that addition. https://github.com/tc39/proposal-iterator-helpers

  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Sep 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic proposal-iterator-helpers repo stats
39
1,293
4.8
20 days ago

Sponsored
Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com

Did you konow that HTML is
the 11th most popular programming language
based on number of metions?