Jacascript async / await is worth the effort - For the longuest time I stuck with err first callbacks in javascript. They had already changed so many things while I was learning the language, and I was sick of it all. I figured it's all callbacks underneath anyhow, so I'll just stick with that. I was wrong.
Eventually after reading the entry level file in Eleventy I realised how I could use async / await to drastically simplify and make my code more readable. There are lots of things in Eleventy that I don't like, which is why I started writting my own static site generator, but the use of async / await and classes was eye openning for me.
It took a little getting used to it because there are a few gotchas but once you figure out how it fits in your code, it's dramatically better. Now when I read callback heavy code it looks so unbelievably ugly to me. I also started using classes. Not too much but in a few places and combined with async / await I found javascript actually starts to feel somewhat fun again.
I fucking hate Typescript though. Who knows maybe I'll be wrong about that someday. I'd love to be proven wrong. Happy to try it should the world allow me to compile again. #