Dear JavaScript...
summary
Covers why JavaScript feels both powerful and confusing by connecting event loop behavior, scoping and first-class functions to real code patterns: explains that non-blocking applies to I/O only and shows a CPU-bound while loop up to Number.MAX_SAFE_INTEGER blocks CPU-bound loops (30 minutes on MacBook), demonstrates the classic for+setTimeout closure puzzle, notes Promises use microtasks/jobs, recommends MDN and You Don’t Know JS, shows practical currying like use closures to cache expensive rates (convert pound→euro) and points out Node uses libuv with 4 threads for I/O.
AI-written summary · about
chapters (7)
- 0:00Start
- 2:03IMPERATIVE
- 3:17DECLARATIVE
- 13:58WE ARE BLOCKING!
- 21:09FUNCTIONS ARE OBJECTS
- 21:31FUNCTIONS ARE CALLABLE OBJECT
- 28:09Currying
related talks
01h 14mJavaScript the Grumpy Parts
55mJavaScript the Grumpy Parts
41mThe Eventloop in JavaScript - How does it work?
38mJavaScript VM internals, EventLoop, Async and ScopeChains
25mA JavaScript Parody: A Fun Journey through Hot Topics of Node.js and JS
51mJavaScript Gotchas
30mActually Understanding Asynchronous JavaScript
44mBehind the Scenes of JavaScript: What We Use Without Understanding
