Join Slack
Powered by
why is the `Result<T>` shouldn’t be a return...
# announcements
t
Tuan Kiet
06/04/2019, 2:21 AM
why is the
Result<T>
shouldn’t be a return type although
runCatching
does?
Tuan Kiet
06/04/2019, 2:22 AM
ref:
https://github.com/Kotlin/KEEP/blob/master/proposals/stdlib/result.md#limitations
i
itnoles
06/04/2019, 2:49 AM
you can bypass limitation by compiler arguments
t
Tuan Kiet
06/04/2019, 3:22 AM
I know, but why?
p
Pavlo Liapota
06/04/2019, 7:57 AM
https://stackoverflow.com/a/52632328
t
Tuan Kiet
06/04/2019, 8:24 AM
So.. it just breaking api changes thing, if I don’t care about that I’m good to go?
2
Views
Open in Slack
Previous
Next