#assert vs comptime vs errors?

1 messages · Page 1 of 1 (latest)

narrow dragon
#

We could model this with errors as well, but I like the idea of trying to do more negative space coding.

#

assert vs comptime vs errors?

#

One thing I am noticing will working with this, is I can't "catch" assertions in tests. Which is annoying since I can't ensure in tests that my implementation is correct.

tardy yarrow
#

What do you mean by "comptime" in context of failure/error types?