News for hackers. Stuff that matters.
Re:TypeScript Is Surprisingly OK for Compilers by afandian on Friday August 18, 2023 @10:15AM (#37175915)
Kotlin has this feature (`try` and `if` are expressions not statements), and a good model for return values. https://kotlinlang.org/docs/exceptions.html#exception-classe...

There are no comments on this comment yet.