4 ms·
> The whole point of syntactic sugar is for the machinery to be hidden And when the machinery fails, you'll not only have the machinery to debug, but the synta
by jefbyokyie 2y ago
> The whole point of syntactic sugar is for the machinery to be hidden
And when the machinery fails, you'll not only have the machinery to debug, but the syntactic sugar too.
- restalis 2y agoStill, the machinery gets more eyeballs and scrutiny to how it works than what some Joe's given codebase does, so chances are that the cause of failure will be somewhere on Joe's side. Then, the code will still need to be debugged, and you'll be glad having to deal with well-known implementations of DRY rule under "syntactic sugar" category instead of whatever Joe happened to come up with instead. Or, maybe there was no DRY rule in Joe's mind and therefore there will be a lot more code to maintain and debug.
- cryptonector 2y agoYeah, compiler bugs happen.