4 ms·
Arguably using curly braces to delineate blocks makes no inherent sense either. We just do it because that's what everybody else does.
by filleduchaos 5y ago
Arguably using curly braces to delineate blocks makes no inherent sense either. We just do it because that's what everybody else does.
- skohan 5y agoSo if I can give my extremely pedantic rebuff: `end` is 3 characters rather than two with `{}` - that's objectively more work to type, and it makes your programs take more space on disk. Also it's dead simple to write parsers and developer tools which can match open and close braces. Handling `end` with an arbitrary opening token (maybe it's `if <...>`, `while <...>` what have you) is objectively more work for your CPU to work with. Subjectively, it looks dumb to have code which looks like this: end end end end end end