Echo JS 0.11.0


sylvainpv 330 days ago. link 1 point
This tim tam thing is a very funny and clever example to illustrate an obscure concept such as generators, well done. I would probably never use generators since the few times in my life where I needed custom iterators, someone else had written them for me on the Internet. But I enjoyed the read nonetheless.
tracker1 330 days ago. link 1 point
Worth adding, a very natural use of generators would be for a CSV parser engine... Generally speaking, generators can be thought of natural streams.  Async generators and for-await being extensions to this usage.