Re:Ask HN: Does anyone use Nim language in production?
by jboy on Sunday May 28, 2017 @08:26AM
(#14434124)
@dom96: what do you think about a Common Lisp-like "condition" system [0] in Nim?
[0] http://www.gigamonkeys.com/book/beyond-exception-handling-co...
This is something that Nim offers via the `raises` pragma[1]. It is enforced at compile-time and in my experience works rather well.
1 - https://nim-lang.org/docs/manual.html#effect-system-exceptio...