3 ms·
> With less redundancy it is easier to make errors both in writing AND reading of code. I don't really see that. Boilerplate code is not helpful for clarity or
by dunefox 6y ago
> With less redundancy it is easier to make errors both in writing AND reading of code.
I don't really see that. Boilerplate code is not helpful for clarity or correctness. It's just more code that you have to write that can introduce errors.
- galaxyLogic 6y agoThe errors you introduce into boilerplate code are trivial syntax errors easy to spot by the parser. The difficult errors are the semantic ones because the parser can not catch them. Think about human languages. They have large amounts of redundancy and for a good evolutionary reason I believe. It is easier to distinguish meaning when words around a given word anchor it into a specific context. Redundant languages have a built-in error-correcting code built into them. They take more bits to transmit but those extra bits correct, and help detect errors.