News for hackers. Stuff that matters.
Re:I Am Happy Not to Be a Web Developer Anymore by malfist on Wednesday October 18, 2023 @10:30AM (#37929198)
I don't know man, I've seen frameworks rise, gain massive adoption and then be abandoned as everyone moves to the next hot thing.

I watched everyone adopt AngularJS and then have to migrated to Angular 2.0 and then everyone migrated to React. During this time, the backend folks wrote java services using SpringBoot and then migrated to SpringBoot and then when that wasn't abandoned, moved to SpringBoot.

Web development feels way too much like a hamster wheel to me.

Re:I Am Happy Not to Be a Web Developer Anymore by Cthulhu_ on Wednesday October 18, 2023 @10:44AM (#37929428)
It doesn't help that a lot of websites / apps have this tendency to "need" a redesign / rebranding every 5-10 years, which developers take as an opportunity to use the next great framework because the old app is an unmaintainable mess.

If anything, new frameworks should be simple to use.

I've had the misfortune to work in an Angular codebase last year, I could hardly make heads or tails from it; I'm sure there's good theory behind it, but it was far too complicated.

Currently working in React, and it's got the annoyances of hooks, callbacks, effects, etc; basically, you as a developer are responsible for a lot of rendering behaviour, using what looks like magic trickery. Don't get me wrong, I like the basics of React, but as soon as it goes beyond simple props it's starting to lose me. I heard Vue solved this better or more intuitively, but it's still a layer on top of JS/HTML.

In parallel I've been working in Go, and while it's wordy and frequently annoying (like when using the correct design patterns, you'll end up copying a database struct to a business logic struct to a HTTP API struct, it's boring, wordy and bug prone code), it's still much more of a joy to work in because there's very little indirection or friction.

Re:I Am Happy Not to Be a Web Developer Anymore by mrsilencedogood on Wednesday October 18, 2023 @10:49AM (#37929508)
I'll just pile on my anecdote because I am a backend dev but want to make websites since apparently end users don't like reading and hand-composing JSON or something.

A while ago, a few years I think, I learned react with class components. Hooks were never mentioned, so I don't know if they didn't exist yet or were in some nascent stage. I thought "huh neat this makes writing js not completely awful" - my only "frontend"-related background was in desktop UI development with Swing and Qt and such. As I mentioned, I'm mostly a backend dev.

Anyway, I wrote a small internal app for my job at the time and shipped it and it was neat, all the other backend devs (we had ~no frontend devs) were suitably impressed with how much less awful react was than vanilla JS.

Fast forward... I suspect 3-ish years. Suddenly hooks were popular and class components were not and people were being pushed to migrate (since newer versions of libraries were preferring hooks). My hard-won frontend knowledge is already outdated! And imagine my surprise when I learned SSR was back?? and something about next.js which I guess is still react but it's a server packaging of it as well and that bleeds over into letting you do more stuff on the frontend, something about server-side props? I was disappointed with how much had changed despite the actual product - the websites you can build - still essentially staying the same.

And this is just for React - the winner! I had managed to correctly pick the winner and there's still all this churn. Meanwhile, as you mentioned, rails is still almost exactly the same (all its churn has been trying to pick a not-awful way to integrate javascript, ironically) despite several major versions passing, Spring is the same, etc.

Re:I Am Happy Not to Be a Web Developer Anymore by malfist on Wednesday October 18, 2023 @11:29AM (#37930081)
I completely agree with what you've said.

All I want to add is that today React is the winner, last week, backbone/ember was, week before that it was angular.

Even winners are transient and ephemeral.

Re:I Am Happy Not to Be a Web Developer Anymore by danielvaughn on Wednesday October 18, 2023 @10:52AM (#37929544)
I started around 2009, and while I certainly felt overwhelmed at several points during the framework craze, I never got tired of it because it was exciting. As soon as I started hearing about hydration though, that was my breaking point. I'm just tired of it all.

That being said, I do love Astro. It's a very nice, easy experience.

Re:I Am Happy Not to Be a Web Developer Anymore by ricenews on Wednesday October 18, 2023 @10:53AM (#37929551)
Meanwhile Ember has quietly improved and reinvented itself steadily over the last decade-plus, while maintaining compatibility responsibly the entire time. Sure it’s not always been on the cutting-edge (which I guess is why it lost its cachet) but its relative stability through fundamental reworking of its core have enabled me to happily maintain multiple SPAs that I started with as far back as 2015 when everyone was adopting AngularJS.

All this is to say that there are projects and communities that value stability with stagnating so you can still have “nice things” without feeling stuck on a hamster wheel.

Re:I Am Happy Not to Be a Web Developer Anymore by Kerrick on Wednesday October 18, 2023 @11:20AM (#37929934)
Most ironically, Ember's mascot is in fact a Hamster (well, a Tomster). :-)
Re:I Am Happy Not to Be a Web Developer Anymore by progx on Wednesday October 18, 2023 @11:00AM (#37929666)
And now from client side rendering (CSR) back to server side rendering (SSR). The thing, that we done 20 years ago, but now only more complicated, with more tools, more setups, etc.