News for hackers. Stuff that matters.
Re:Conditional JavaScript: Only download when it is appropriate by hombre_fatal on Thursday December 17, 2020 @08:00PM (#25462553)
Well, it's not all that illuminating to imagine the arbitrarily bad UX you can build with something. Why not attempt the exercise of pondering good UX you could build with it?

Native applications lack this kind of polish because all software lacks polish, not because it's a bad idea. "Can the application be improved in any way if it were to query battery life, connection strength, metered vs unmetered bandwidth, remaining disk space?" are thoughtful questions for any developer to ask, even if the answer is ultimately "No."

Re:Conditional JavaScript: Only download when it is appropriate by learnstats2 on Thursday December 17, 2020 @08:10PM (#25462621)
> "Can the application be improved in any way if it were to query battery life, connection strength, metered vs unmetered bandwidth, remaining disk space?" are thoughtful questions for any developer to ask...

I suspect the answer is typically "Yes, but putting this level of thought into any other area of development would have been more worthwhile".

Re:Conditional JavaScript: Only download when it is appropriate by hombre_fatal on Thursday December 17, 2020 @10:12PM (#25463383)
Aside, I am amused that you cut off the end of my quote only to restate the part you cut off, so maybe I was unclear.

Doing the deliberation, even if the answer ends up being "No" or "Not worth it", is a crucial part of UX design. Most people don't turn over those stones at all.

e.g. Anyone with spotty or slow internet has had the realization that most desktop software has never been tested on a connection slower or less reliable than localhost, and quality software where it rears its head immediately stands out.

It might seem like frivolous polish to be adaptive to the user's current connection speed, or it might give you a spot to put a smart variable knob that lets you build good software.

But I'd also point out that we're not used to writing software that cares much about the user's resources like remaining battery life. We just write our iOS app and then depend on iOS' battery-saving mode (global throttle). It's just not something we're used to thinking about, so it's easy to be dismissive.

Re:Conditional JavaScript: Only download when it is appropriate by learnstats2 on Saturday December 19, 2020 @06:59AM (#25476882)
Not really a restatement. My answer included the deliberation as a poor use of time.

> cares much about the user's resources like remaining battery life.

If you are in a position where you care about user resources then you would generally minimise how you use it, globally, in every case.

[I'd say that developers/product managers often do care about this, except that advertising is intentionally resource-greedy and will wreck any care given to this]

If a user runs out of battery before the end of the day, that is as much (if not more) about what happened at the start of the day as it is at the end.

Re:Conditional JavaScript: Only download when it is appropriate by SGML_ROCKSTAR on Sunday December 20, 2020 @05:34AM (#25485276)
Have you ever designed or developed (or both) for slower connections? "Slower" meaning something like 56k, 1G, or 2G? Do you happen to know of any people or groups that practice in such a way?

I consider website design and development to _still_ be a craft that centers the end user, which suffers degradation of quality because of -- for lack of knowledge of a better name or phrase -- The Market.