News for hackers. Stuff that matters.
Re:UI vs. API. vs. UAI by chowells on Monday August 11, 2025 @04:11PM (#44868897)
Are you aware of HTML 5? Fun fact about it: there's zero leniency in it. Instead, it specifies a precise semantics (in terms of parse tree) for every byte sequence. Your parser either produces correct output or is wrong. This is the logical end point of being lenient in what you accept - eventually you just standardize everything so there is no room for an implementation to differ on.

The only difference between that and not being lenient in the first place is a whole lot more complex logic in the specification.

Re:UI vs. API. vs. UAI by mort96 on Monday August 11, 2025 @04:36PM (#44869180)
> Are you aware of HTML 5? Fun fact about it: there's zero leniency in it.

I think you understand what I mean. Every byte sequence has a

> The only difference between that and not being lenient in the first place is a whole lot more complex logic in the specification.

Not being lenient is how HTML started out.