Id even argue Python with Django or Flask is better than JS

nostr:nevent1qqspcgzkqgt9dt5hltawwz4dm8jmv0p50t9kvyedzlc4djpay6wqxkgprdmhxue69uhhw6r9v96zu6rpwpc8jarpwejhym3wvdhj7q3qzmc6qyqdfnllhnzzxr5wpepfpnzcf8q6m3jdveflmgruqvd3qa9sxpqqqqqqzd2atxq

Reply to this note

Please Login to reply.

Discussion

Your stack is Go/HTMX/Tailwind right? You make a compelling case because I hate JavaScript a little more after today.

Yep that's what I use for web apps. But I use go for most general purpose programming now.

I have 2 web app frameworks with this stack on my GitHub, one with nostr auth built in. Buildr an go frame if you'd like to get started ☺️

Thanks for sharing these 🤙

I'm going to test out Go/HTMX and Phoenix LiveView for my work project and see which one I like better.

But I'm so done with JavaScript frameworks.

They are so bloated with stuff just to make JavaScript work for stuff it was never intended for.

HTMX has its own learning curve, depending on how long you've been in JS it's harder to think differently about how to do stuff in the dom. Check out hyperscript too to really get rid of most js. You're never going to completely eliminate it. Also think of stuff in this manner: https://en.m.wikipedia.org/wiki/HATEOAS

Is there any good UI libraries for Go?

No. Not really... Not for Oregon either. Tkinter is a nightmare. But you just use html and css. Css is the goat

Python* not Oregon

Unless you just use JS web components and ditch the retard skinny jeans man bun transpilation toolchain that has always sucked donkey dicks

It's not as perfomant but python micro frameworks for web apps is much less complex than any JavaScript framework.

The UI is all JS no matter what. Best to use web standards and avoid all frameworks and build tools. We don't need them.

That depends on what general purpose language you want to use for your backend though. Go is much more perfomant than JS, it's strongly typed and compiled. Development is much better than JS or Python

I’m only talking about the UI where a toolchain and build step is unnecessary

Oh yes for sure, although css has become pro damn powerful recently