On that specific example, not my experience at all. (The general point is of course valid, though I think it follows very directly from what I said)
Semicolon is a strange example when so many successful languages don’t have them.
I think a better example is CoffeeScript, where almost any string is a valid program but probably not the one you wanted.
Re:AI Found a Bug in My Code
by WalterBright on Thursday November 17, 2022 @04:31PM
(#33646049)
> Semicolon is a strange example when so many successful languages don’t have them.
They usually have another statement terminator instead, like a newline.
No, with redundancy your compiler can catch a certain class of errors (call them "avoidable") that doesn't exist in case of no redundancy. Of course, in both cases you still have the unavoidable errors.
The skill is in selecting the optimal amount and form of redundancy.
For example, the typical ; statement terminator is redundant. People often ask, since it is redundant, why not remove it? People have tried that, and found out that the redundancy makes for far better error detection.