Re:How UTF-8 Works
by mekster on Wednesday February 09, 2022 @01:13AM
(#30269528)
I mean, correct as in logically correct and that's just a different matter than being grammatically correct.
[ Parent
| on HN ]
The parser assures your code is grammatically correct; the type system assures your code is semantically consistent, which is usually a much stronger guarantee, and by most practical measures will be closer - often much closer, and for total functions on total types, sometimes all the way - to "logically correct".