4 ms·
That's fine, but I'm not running JS unless there's a reason for the app to use JS. This is a document, not an application, and developers who can't do progress
by jhardy54 6y ago
That's fine, but I'm not running JS unless there's a reason for the app to use JS.
This is a document, not an application, and developers who can't do progressive enhancement on simple HTML documents are the ones stuck in 2009.
- kstrauser 6y agoThey’re almost all applications now. We lost the fight. There’s zero incentive for a develop to spend more than zero time making a website degrade gracefully today. I use Gemini (https://gemini.circumlunar.space/ https://gemini.circumlunar.space/) today when I want to enjoy an unscripted Internet. You should check it out - it’s fun! But the web is no longer static HTML, however much I often wish it was.
- jhardy54 6y ago> They’re almost all applications now. We lost the fight. Please reconsider! I've been using uBlock Origin to disable JavaScript by default, opting into enabling it when I want to (just like camera and microphone permissions). The vast majority of websites work fine, and many work better because they don't have pop-ups for cookie consent, unsolicited chat bubbles, or "wait don't leave yet" crap. > There’s zero incentive for a develop to spend more than zero time making a website degrade gracefully today. I couldn't dksagree more. Not everyone is an able-bodied software developer with a 2020 Macbook Pro and Google Chrome. We should continue making websites for everyone. > But the web is no longer static HTML, however much I often wish it was. You're right, but JavaScript is still completely optional for the vast majority of websites (and I'd argue that we should keep it that way). Just because a few websites need camera permissions doesn't mean that we should give every website access to our camera -- why should we have a different stance on JavaScript that usually degrades our experience instead of improves it?
- hnzix 6y agoIn the current era of resume-driven development, Javascript SPA blobs make me angry but I find it hard to fault the dev team for drinking the kool aid. I'll read the author's content because they probably had zero input into choosing the backend.
- hazz99 6y agoIt’s easier, for me, to write websites that require JS. Why should I spend time on that 1 lonely user who browses with JavaScript disables when I could focus on maximising value for the other 100,000?
- jhardy54 6y ago> It’s easier, for me, to write websites that require JS. Why? You can literally just put HTML on a server an start an HTTP server and you're done. How does JavaScript make that easier? > Why should I spend time on that 1 lonely user who browses with JavaScript disables when I could focus on maximising value for the other 100,000? Your webpage will be smaller and faster if you just deliver the HTML. I don't know what your website looks like, but it's not uncommon to see 4 MB of JavaScript transferred just to draw 400 bytes of text on my screen. Moving HTML from your server to my screen is a solved problem, and using JavaScript to do that is just as silly as using Java, Flash, or Silverlight.
- hazz99 6y agoBecause my preferred stack is React and I’m the most productive in it. Insofar that you have reasonable loading times, the fact is 99% of end users don’t care what you use to build software. Use whatever you’re most comfortable with!
- jhardy54 6y agoReact is lovely for interactive applications, but using it for documents is like using a .exe to print some text because you're "most productive" in whatever programming language. You're welcome to distribute your documents in the form of huge JavaScript executables, but you shouldn't be surprised when other developers point out why it's silly (or refuse to run your code).