(no title)
zaro | 5 years ago
There is a lot of negativity here on HN on the same things you mentioned, but I fail to see any viable alternatives.
Like what? Replace the MB of JS with plain Html and forms? It's not going to be simpler to code, and it's definitely not going to be simpler for the users. Or maybe use a native desktop app? Then it's even more complicated for the users, and coding it leads you in world of cross platform pain. And the closest thing there was to not using MB of Javascript and have decent UX was Java and applets/jlnp, but it somehow didn't manage to be widely adopted.
blackflame7000|5 years ago
larzang|5 years ago
Programmers don't choose these things, because programmers aren't the real decision makers, it's management and business that makes the web awful.
zaro|5 years ago
I was talking mostly about the actual application logic and presentation.
BTW tracking is hapening even w/o javascript.
C1sc0cat|5 years ago
unknown|5 years ago
[deleted]
TheSpiceIsLife|5 years ago
krageon|5 years ago
fetbaffe|5 years ago
It is somewhat more complex to handle more pages in your code base, but each page is short and simple.
mattlondon|5 years ago
You end up with a lot of complexity around cookies/local storage (and trying to persuade users that cookies are not bad and that their virus checker should not delete the cookies please ...) or encoding the session ID in the URL and hoping that users do not share links or bookmark pages, and then of course you end up with the "please only click once" links around buttons etc.
You also now need two teams to code the front end - one that knows HTML etc, and one that knows the backend-frontend language (although could be nodejs of course). It is an extra interface that needs to be designed and maintained with all the opportunities for screwups that come with it.
acdha|5 years ago
Those are things which developers do because they think it’s easier than learning the web standards or looks better on their résumé and as long as you avoid measuring actual performance you can sustain these beliefs for a long time even while your users are seeing performance below the level of a 2000s Rails app with worse error handling.
zaro|5 years ago
I am sorry, are you talking about example todo app ? because for most apps with complex navigation, data entry, and validation this is absolutely not true. Just use the DOM , might be somehow feasible with webcomponents, but they are years late to the game.
franzwong|5 years ago
fgkramer|5 years ago
ratww|5 years ago
For IE11 just load polyfills and let the 2-10% of IE11 users pay the tax, instead of making all your users in modern browsers download giant bundles.