| ▲ | concinds 3 hours ago | ||||||||||||||||||||||||||||
You are far too empathetic to them. They should not hold the jobs they have. These are the people writing React monstrosities for government benefit websites, and testing them on fast iPhones and fast 4G, without realizing that every page load for actual users will take 30 seconds on their old $200 Android on 3G, and users won’t complete the form. It’s a culture of not giving a shit, that’s the deeper issue. | |||||||||||||||||||||||||||||
| ▲ | goosejuice 2 hours ago | parent | next [-] | ||||||||||||||||||||||||||||
Junior and midlevel devs aren't decision makers for government benefit websites. The culture of not giving a shit is real, but the responsibility goes far beyond these roles. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | igsomething an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I had a contract once to save a government website that had serious performance issues, it was so unusable that people preferred to go in-person and wait 4h in a queue rather than try to fill the forms online. The frontend was in React because the company that got the contract initially used React for everything. The frontend was a 5MB SPA, but it could've been (mostly static) HTML files with some interactivity for forms like TFA. Everyone working on the project agreed React didn't make sense, but we couldn't do anything about it because someone from the government IT department would have to admit they made a mistake. There was no budget for rewrites in the contract. The few times a developer attempted to remove any "React monstrosity" they got in trouble. Sometimes developers care, but the people in charge don't, and in government environments every change must go through them first. | |||||||||||||||||||||||||||||
| ▲ | jessyco an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
In Canada you can't call yourself an engineer unless you have some kind of association behind it; the title holds meaning including partially accountability. Something that is lacking in the tech world. I'm not saying I want to live in that world but also I worked hard for the knowledge I have starting in the IE days of web dev; it was hard earned experience making things work across the web without loosing performance. The idea that we have developers out there now getting paid higher than me that are clueless on how auth works, how the browser works, why css and browsers maintain backwards comparability for a reason.. well it's sad; but good for them I guess? The behaviours of developers as well being beholden to their managers rather than the craft; meaning not saying No we will not move forward without proper unit tests, or pushing back when business demands quick corner cutting solutions. Anyway, decades of bitterness. I wish we had associations to uphold some level of accountability on developers as much as protect developers. I think things would be a lot more expensive and slow if we did that though. Fundamentally I agree with your take, not just on dev side but just the web/dev/produce' a culture of not giving a shit. | |||||||||||||||||||||||||||||
| ▲ | Joeri an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
New cheap android phones are just as slow as old cheap android phones. The bottom of the market has been stuck in performance limbo for years, and modern web dev frameworks are ill designed to meet them where they are at. | |||||||||||||||||||||||||||||
| ▲ | andersmurphy an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I've found what works really well on 3G an MPA with streaming HTML with brotli compression rendering the whole page on every change. | |||||||||||||||||||||||||||||
| ▲ | 6510 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I use to have an old pentium 2 computer for testing websites. Sometimes you cant make things fast enough for the old box. A fun trick is/was to have <script>elm.textContent="loading images"</script> between each "heavy" section, all targeting the same elm. If the computer, network or server is truly extremely slow you will get a nice message at the top describing what they are waiting for. On a normal slow computer you won't see the messages unless something went wrong. | |||||||||||||||||||||||||||||
| ▲ | pydry 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
It's more of a culture of "but everybody else does it". I like how HTMX does SPAs. It straddles the divide nicely between simple and capable. | |||||||||||||||||||||||||||||
| ▲ | yesco 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I see no reason not to be empathetic. The frustration is fair, but it's aimed at the wrong layer. These people were guided into this spot by bootcamps and curricula that start at React and never go down the stack. My experience was the reverse. I learned HTML and CSS first, then Rails in college to serve templated pages. I understood the client/server boundary fine as a concept, what I couldn't see was where it actually sat in a web context. I sort of knew JavaScript ran in the browser, but then I'd see ERB templates stamping values directly into script tags, so the server was writing the JavaScript that ran on the client, and my mental model fell apart. Where does my code actually execute? Why does this variable exist here but not there? Why does the page have data the network tab never fetched? Nobody ever sat me down and explained the request/response lifecycle as its own thing. I had to assemble it from fragments over years. This was around 2017 for context. How you learn something shapes how you keep learning. If your mental model is misaligned, everything downstream is friction. The thing that finally made it click for me was reading the actual HTTP RFCs, which is apparently a weird thing to do, because HTTP itself is absent from nearly every guide and curriculum. Tutorials teach you the framework, maybe the language, and just assume the protocol underneath. These days I make newbies read the MDN docs like a book and skim the HTTP wiki page, learn the history of the protocol. It's short! It's not even a book! That gives you a firm foundation. But if your foundation starts at React, drilling down is like digging past bedrock. People don't know where to start, and Googling only shows them wrong answers because they don't yet know how to ask the question. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | an hour ago | parent | prev [-] | ||||||||||||||||||||||||||||
| [deleted] | |||||||||||||||||||||||||||||