News for hackers. Stuff that matters.
Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @06:02AM (#28942384)
or just pick a stable stack like go with something like hotwire for FE and just roll with it.
Re:Facts every web dev should know before they burn out and ... by lugged on Thursday October 21, 2021 @07:42AM (#28943029)
After 10 years fullstack I moved into WordPress. The code I deal with is a mess but to be honest so was everything else I've ever been paid to work on.

WordPress is stable and maintains backward compat for as long as possible.

It's a real joy to build things on top of as you know you won't need to run framework updates every month to prevent a Nasty suprise down the line.

Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @08:22AM (#28943365)
After writing 2x more CDK code than actual app code for the last year I can really relate :)
Re:Facts every web dev should know before they burn out and ... by gmadsen on Thursday October 21, 2021 @06:13AM (#28942463)
Is this sarcastic?
Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @06:28AM (#28942562)
go as in Golang and hotwire to have simple server side rendering that feels like SPA for the user
Re:Facts every web dev should know before they burn out and ... by gmadsen on Thursday October 21, 2021 @06:54AM (#28942731)
I understand the references, and maybe its that I work in robotics and not web dev. But if the criticism of web dev is that domain knowledge erodes unlike law or medicine, the response shouldn't be that long term stable skills exist such as these two things that have come into prominence in the last decade in go's case, and the last year? in hotwires case
Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @07:01AM (#28942764)
Hotwire is not really a skill. It's a tiny lib that lets your old school server rendered app feel like an SPA. There are obviously other options for your serverside code you can use c if it's up your alley.
Re:Facts every web dev should know before they burn out and ... by gmadsen on Thursday October 21, 2021 @07:15AM (#28942843)
fair, I might give it a look if I ever need to create web project. I think ultimately the critique is still valid though. At least in robotics, new knowledge is typically complimentary of existing knowledge. My ML projects don't negate my knowledge of control theory, physics, operating systems, embedded computer architecture, etc.
Re:Facts every web dev should know before they burn out and ... by cloverich on Thursday October 21, 2021 @12:16PM (#28946699)
To be fair in Go's case, it came to prominence at or before the time many of us started. And the Go I learned at the very start of my career (10 years ago) is still usable today.
Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @06:19AM (#28942497)
Nope why?
Re:Facts every web dev should know before they burn out and ... by Vinnl on Thursday October 21, 2021 @06:52AM (#28942710)
I'm pretty up-to-date on front-end developments but Hotwire is barely on my radar, so I had to look up the release date, but it seems to have been released just this year? (I thought it was last year.)

Though my stack has certainly evolved, it's been mostly the same since 2016, with really not that much new to learn. Adopting something released just this year doesn't seem like the most obvious choice when looking for a stable stack.

Re:Facts every web dev should know before they burn out and ... by dghlsakjg on Thursday October 21, 2021 @11:58AM (#28946407)
Hotwire and a few analogues (e.g. LiveView for Phoenix) are an emerging design pattern.

I think for a lot of business cases they are going to replace js frameworks. They are domain specific (Rails, Phoenix, etc..), but they allow you to essentially replace a lot of SPA functionality with a library that takes an afternoon to grok for a back-end dev.

They won't replace React, Vue, etc... But they can replace it in places where a full js framework is overkill (which is probably a majority of the places that I see it).

As a backend dev, I think that they have incredible promise. They make interactivity MUCH easier.

Re:Facts every web dev should know before they burn out and ... by qaq on Friday October 22, 2021 @12:30AM (#28953766)
Hotwire is lang/framework agnostic.
Re:Facts every web dev should know before they burn out and ... by d3nj4l on Thursday October 21, 2021 @08:02AM (#28943194)
Hotwire is just a name for a bunch of tech that has been around for a while. The components of Hotwire - Turbo and stimulus - have improved over time, for sure, but the core ideas haven't changed much, if at all. I worked on a hotwire side project recently and described it to a friend as "writing Rails like it was 2009." It feels really good because I've always found it hard to grok SPAs and the like, but could generate tolerable server-side generated webapps.

Old wine in a new bottle, basically.

Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @08:41AM (#28943558)
Even if it is not hard to grok it's often unnecessary complexity as users literally can not tell the diff. in most cases.
Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @06:57AM (#28942745)
It's a tiny lib that replaced turbolinks from DHH and the gang. It's used for many prod deployments and it's pretty convenient for people who do not enjoy FE SPA style dev. There are obviously other options.
Re:Facts every web dev should know before they burn out and ... by mejutoco on Thursday October 21, 2021 @07:24AM (#28942908)
Hotwire or htmx? :)

I use them too, but even In this niche there are several, like liveview for Phoenix.

Re:Facts every web dev should know before they burn out and ... by qaq on Thursday October 21, 2021 @08:12AM (#28943281)
liveview is great and Elixir is really nice lang.