If Scala 3.1 adopts checked exceptions, I'm looking forward to the day when I can declare a library method as, def foo: Bar throws E without worrying whether my users care about exceptions or not. Right now I must return either `Bar` or `Try[Bar]` and make _someone_ compromise.
-
Show this thread
-
Replying to @propensive
Didn't you have a library for letting users choose?
2 replies 0 retweets 2 likes -
Replying to @oxnrtr @propensive
When I saw him present it, I thought it was one of the coolest things ever
1 reply 0 retweets 1 like
I'm impressed you remember it, thanks!
9:17 AM - 27 Mar 2021
from Frankfurt on the Main, Germany
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.