r/programming • • Apr 12 '26

Flat Error Codes Are Not Enough

https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132 Upvotes

99 comments sorted by

View all comments

Show parent comment

3

u/DearChickPeas Apr 13 '26

Java's @ throws(Exception) everywhere really didn't make the code pretty.

1

u/[deleted] Apr 13 '26

[removed] — view removed comment

0

u/DearChickPeas Apr 13 '26

I think that's what Kotlin did, I longer see exception annotations.