3 ms·
You'd be surprised how many people don't know about 'finally' at all. Given how many of JS APIs are async, there hasn't been much call for 'finally', so folks h
by jaffathecake 5y ago
You'd be surprised how many people don't know about 'finally' at all. Given how many of JS APIs are async, there hasn't been much call for 'finally', so folks haven't encountered it. I think they're useful again with async functions, which is why I documented that. You might be _very smart_ and know that stuff already, but the article wasn't written specifically for you.
Having worked at the BBC, I'm a fan of the Reithian principles; Educate, entertain, and inform. Yes, there's a central point to the article, but I like using that as a starting point to look at related things, like async functions, and the promise stuff.
TL;DR: It's an article, not a tweet :)
- ludamad 5y agoJust as another assurance, the article was not hard to skim for the main point