News for hackers. Stuff that matters.
Re:Do not build your Gov.uk service as a single-page applica... by stavros on Sunday September 29, 2024 @09:29AM (#41687267)
This is fairly basic advice, and it feels a bit insulting to assume I'm just hating on some tech. Obviously, if things were as easy as "here's the immediate and unambiguous problem with this approach", I would have gone that way.

Things would be great if the risks were as simple as this. The actual problem is "six years later, the frontend is a ball of spaghetti code and it takes you two sprints to change a component".

How many developers do you think heed those warnings?

Re:Do not build your Gov.uk service as a single-page applica... by j45 on Sunday September 29, 2024 @09:35AM (#41687302)
Not enough. But they will scoff at other technologies old and new.
Re:Do not build your Gov.uk service as a single-page applica... by willcipriano on Sunday September 29, 2024 @09:37AM (#41687320)
> heed those warnings

It's not a warning. It's a functional requirement that you put into the ticket. The project isn't done if the rewritten page takes longer to load than the old one did. Don't ship it, don't pay bonuses based on shipping it.

Re:Do not build your Gov.uk service as a single-page applica... by stavros on Sunday September 29, 2024 @09:48AM (#41687395)
Please read my comment more carefully, you're being patronizing. I can't put "I want feature development on this codebase to be faster than two sprints in six years" in the requirements.
Re:Do not build your Gov.uk service as a single-page applica... by willcipriano on Sunday September 29, 2024 @03:38PM (#41689806)
Sounds like you should talk to the person who is actually in charge then.
Re:Do not build your Gov.uk service as a single-page applica... by stavros on Sunday September 29, 2024 @03:49PM (#41689885)
I'll have a chat with the mirror.