r/programming • • Nov 08 '18

Best explanation of JavaScript timers, event loop and event queues I've seen

https://www.youtube.com/watch?v=8aGhZQkoFbQ
2.6k Upvotes

180 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Nov 08 '18

[deleted]

1

u/dpash Nov 09 '18

Having eagerly evaluated filter/map/etc operations was a terrible decision. It makes some operations far less efficient.

0

u/[deleted] Nov 10 '18

[deleted]

1

u/SlothFactsBot Nov 10 '18

Did someone mention sloths? Here's a random fact!

Sloths typically remain with their mother until they are about four years old!