3 ms·
As someone who professionally does mostly frontend since jquery I agree but when working on full stack personal projects in Django and other backend frameworks
by throwup238 3y ago
As someone who professionally does mostly frontend since jquery I agree but when working on full stack personal projects in Django and other backend frameworks that aren’t Node, I start to empathize. Doubling the yack shaving quotient on a project is not fun.
The problem causing burnout isn’t the framework but all the tooling around it. Webpack alone has probably caused as much PTSD as a minor war and if you’re not in frontend you don’t know to just install Vite, copy a tailwind config, and get started. With HTMX you just add a script tag and go. The developer experience for adding some simple dynamic features is leagues better, even if the DSL is esoteric.
- zarzavat 3y agoI’d be curious to know what has better tooling than the web? From what other platform are people coming from that they find web tooling to be a downgrade? Coming from a C++ background I will happily write webpack configs for the rest of my life…
- djbusby 3y agoVB6 had amazing tooling. Unified dev environment, easy UI designer, step-debugger, press one button and your App works on all (Windows) devices from Win95 and newer!
- stavros 3y agoOh man, VB6 was the pinnacle of writing desktop software. The language itself wasn't great, but the overall experience was stellar.
- theptip 3y agoEvery modern backend web programming framework? Frontend requires a lot of flexibility and compromise because the runtime environment is so disparate. In the backend you choose and control one runtime so the framework can integrate tightly with the authoring workflow. Concretely, Rails, Django, Spring, Elm, all have great tooling and are much easier to work with than frontend stacks.
- throwup238 3y agoWeb tooling on the browser side is amazing, but until relatively recently the build tooling was so bad I'd easily put it on par with C/C++. Not as bad mind you, since package management is better, but otherwise I'd rank both as from the same layer of hell and in the same ballpark in terms of suffering. The only thing that rose to the level of debugging webpack configs for me recently is debugging the build for a QT app that linked against non-system KDE libs. Now if you know what you're doing it's much better now that everyone has converged on ES6 modules and with the latest generation of build tools like Vite, all you need to do is npm install some packages to provide zero-config support for frameworks like React, Svelte, etc. But it used to be so much worse.
- drcongo 3y agoI'm professionally mostly in Django and my front end skills have been left to rot for a decade - your comments about Webpack, Vite etc. ring very true. I recently looked into replacing Webpack on a project with something less painfully slow, failed to get Vite working so tried Parcel which is supposed to be idiot proof. I guess I'm more even more idiotic than that. As for HTMX, I've been playing with that on an evening / weekend project and absolutely love it. Getting it working with Django was maybe very slightly harder than with other backend frameworks as Django doesn't have great support for template fragments. Once I'd sorted that though, I had a decent interactive UI on top of my app very quickly, all while being completely new to HTMX. I can imagine being incredibly productive with it with a bit more learning / use.