Promises, asynch, await were the wrong responses to callback hell, for the same reason you don't fix problems with a format by inventing a new one. You didn't solve the problem, you just made it more complicated. The thing to do, imho, is to factor out the need for the callback, if you can. Pop up a level and ask why other languages don't have the mess, and then find out how they solved the problem. They do async stuff, it's just invivisble to the HLL programmer. They did the callback hell stuff once and buried it. There's a name for this process: factoring. That's the answer. It's like the famous scene from Indiana Jones. If you don't have to fight the battle, don't.#
As I reported yesterday, the iPhone 13 Pro arrived yesterday. So the embarrassing saga is over. Now I want to clean up, by finishing the story.#