2 ms·
The idea behind this feature is to ensure that you don't lose important data, not to discourage you from writing functions which return values. For cases where
by dom96 10y ago
The idea behind this feature is to ensure that you don't lose important data, not to discourage you from writing functions which return values. For cases where a functions return value is truly optional, you can use the {.discardable.} pragma.
- qwertyuiop924 10y agoHuh. Interesting idea. I suppose that could work. I'm still not wholly convinced that Nim is for me, but you've definitely alleviated some of my biggest concerns.