Hacker News new | ask | show | jobs
by xtanx 3086 days ago
The statement "a better experience" is debatable.

I cannot remember how many times I have visited SPA websites that break the browser url history.

Also, if a SPA fails to load a request for any reason, try reloading it. Ops you start over.

And I am not talking about some people that don't know what they are doing. At times I've had issues with Google's new developer console, gsuite admin, analytics, product hunt and others.

1 comments

These are all examples of bugs or badly designed/coded applications. Don't blame JS for bad coding...
Nonsense. Bad tools are bad tools as evidenced by the fact that literally no one can use properly at scale.

Evangelists of bad technologies always like to trott out the nonsense about "a good carpenter never blames their tools"... well of course they don't: they buy the tools and always buy the appropriate ones. Further, if they did complain the customer would wonder why they bought bad tools in the first place.

A carpenter would never try to build a building with a "JavaScript" equivalent in the first place. They recognize the tool as garbage (perhaps after trying, and failing, to use it) and switch to something more appropriate.

But it's really really really hard to not do bad code in JS - a whole ecosystem seemingly built to encourage terribleness.
Well, if google can't do it properly then who can? Also, I was talking about SPAs specifically not JS in general.