re: Which types of loops are most popular in the programming languages you use? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Do you know JS has async iterators and generators?
 

Yes, and I do everything in my power to stay the hell away. Why would I want an async for loop? That's just a map with extra steps.

Probably the use case hasn't really emerged well. Maybe with an infinite stream of data or if you have to build a lazy parser for something like HTML or XML...

code of conduct - report abuse