17
How I suck at javascript and how I managed to avoid it as much as possible.
Debugging in the browser is painful for me, I never know which file and line number is giving me problems. Or is it because some npm installed package dependency broke it all? Or is it because I’m too old for this sh*** ?
I always fear doing a npm update (even installs sometimes give problems if you don’t have the correct npm version), I understand that’s because I don’t use it enough, but I told you I’m biased.
I really dislike closures because I don’t fully understand the syntax and it looks ugly to my eyes.
I can’t fully wrap my head around the concept of promises.
Async programming is not my cup of tea either.
I probably dislike the node run model but I don’t even know for sure, it’s too obscure.
I love the backend. I love PHP.
It is advocated by htmx, turbolinks (now hotwire/turbo). The idea is that you send html to the client and the client can directly use it, no need for complex json->html transform on the client using javascript. Html after all is a structured language that can be used, queried, injected, transformed if needed and finally rendered by the browser.