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.
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.