Can you link to the standard it's specified in?
Is this just another way of saying "Object Oriented"?
How this is at all react-like?
haha yeah just write it.
John Carmack makes some good arguments against fine-grained splitting of functions: http://number-none.com/blow/john_carmack_on_inlined_code.html
Use in moderation.
The strings part of this feels not quite right... i wonder if a similar interface could be wrought into a fluent API
Warning - site plays sound, turn down headphones to avoid shock.
It's very easy to make these types of mistakes… easy to be less critical of results that support our desired outcome. That's confirmation bias and it's a common & very human fault.
High levels of maturity & strength are prerequisite for admitting you're wrong in public, these are admirable qualities.
In my eyes, this post gives them more credibility and shows them to be some decent folks.
But why would you want to wrap a fundamentally synchronous action in a promise? For mocking an API? I don't understand.