3 ms·
That's right if you want to do nothing on error. I think TFA uses `...` to represent the code they would actually want to run if an error happened.
by anonymoushn 5y ago
That's right if you want to do nothing on error. I think TFA uses `...` to represent the code they would actually want to run if an error happened.
- wyldfire 5y agoThat makes sense. But it's easy to confuse a prose ellipsis with the C++ notation for indicating the wildcard exception acceptance pattern.
- kjs3 5y agoZig is not C++.
- hibbelig 5y agoMay no programming language ever introduce “foo” or “bar” keywords, lest mayhem be upon us.
- planckscnst 5y agoNow I'm thinking there must be some brainfuck-like language called foobar.
- wyldfire 5y agoSorry, I suppose you could infer that but it was not my intent. It was merely my suggestion that someone's new exposure to Zig might be 'tainted' by previous exposure to C++ syntax.
- 0des 5y agoThat's how I've always interpreted it unless its a convo about slices which are few. Everyone knows slices are the bees knees item 9, so not often does it need discussing.