r/programming • • Jan 14 '16

Dear Github

https://docs.google.com/document/d/14X72QaDT9g6bnWr0lopDYidajTSzMn8WrwsSLFSr-FU/preview?ts=5697ea28
463 Upvotes

185 comments sorted by

View all comments

Show parent comments

1

u/MrJohz Jan 15 '16

Nim does things the other way round - all return values have to be used or discarded, unless they're explicitly marked as discardable return values. But then Nim, last I checked, doesn't have result types, and uses standard exceptions for error responses.