News for hackers. Stuff that matters.
Re:Writing an app is like coding for LaserDisc by Aaargh20318 on Monday September 05, 2022 @10:54AM (#32724990)
> Browsers HTML and CSS parsers are incredibly generous in what they accept

Yes, that is part of the problem. Parsers should be fail-fast and deterministic, this is one of the many problems of the web. Developers don't notice their incorrect code due to this and without noticing rely on the implementation-specific way one browser handles the issue. Then 3 versions later or in a different browser they whole house of cards comes tumbling down.

> One developer can do with the web what 10 couldn‘t do with native

Building a non-trivial app is always faster to do native. By a huge margin.

Re:Writing an app is like coding for LaserDisc by cxr on Monday September 05, 2022 @04:53PM (#32729316)
> Parsers should be fail-fast and deterministic

Raise your hackles about the choice not to fail fast if you want, but when they fail, they do fail deterministically. It's a too-common myth that they don't. (A little perverse that people who make a big deal out of others unable to follow spec, but by doing so prove they haven't checked what the spec says—because if they did, they'd know this...)

Re:Writing an app is like coding for LaserDisc by chucksmash on Monday September 05, 2022 @11:50AM (#32725674)
> Parsers should be fail-fast and deterministic, this is one of the many problems of the web. Developers don't notice their incorrect code due to this and without noticing rely on the implementation-specific way one browser handles the issue.

This was XHTML documents when sent with the correct Content-Type. "Just don't display anything if the document is malformed" is worse for users if devs still create malformed documents.

Re:Writing an app is like coding for LaserDisc by Aaargh20318 on Monday September 05, 2022 @12:54PM (#32726409)
The only reason developers write malformed documents was because they can get away with it. And yet, millions of lines of code are written every day in programming languages that absolutely do not accept malformed code, and that all works out just fine.

Another problem with it is that everyone who can get something to display in their browser suddenly thinks of themselves as a developer.

Re:Writing an app is like coding for LaserDisc by chucksmash on Wednesday September 07, 2022 @01:50PM (#32753787)
How does such a system reconcile the need to be opt-in to maintain backwards compatibility with the web as it exists with the likelihood that the audience you want to reach (developers who can't be bothered to Do It Right) are just the ones who will not opt in?

Ancient history now, but HTML5 was developed by WHATWG specifically as pushback against priorities of W3C at time (chief among which was push for XHTML).

That's not to say things cannot be improved, just to say this has all happened before and it will all happen again (and it is worth paying attention to what happened last time).