16 ms·
I have a feeling it's going to have C-like syntax and frankly I hope so because using an `end` keyword instead of braces makes no sense to me.
by skohan 5y ago
I have a feeling it's going to have C-like syntax and frankly I hope so because using an `end` keyword instead of braces makes no sense to me.
- filleduchaos 5y agoArguably 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