The ???? operator
The ???? operator
I found this funny.
The context is as explained by @laund@hachyderm.io
the issue is that you can't return from inside a closure, since the closure might be called later/elsewhere
and this post was the asnwer to the question by @antonok@fosstodon.org
you got me curious what the record for the longest
?
operator chain on crates.io is
Original post: https://fosstodon.org/users/antonok/statuses/111134824451525448
You're viewing a single thread.
I feel like a ????-operator would help many languages
12 0 ReplyScala has one, which throws a NotImplemented error
1 0 ReplyRuntime or compile-time? If run-time, that sounds like a fun way to implement something like
panic()
.1 0 Replyruntime, the point is so that you can see if the types align and then come back and fill in the function bodies later
1 0 Reply