|
|
|
|
|
by nightpool
80 days ago
|
|
I agree with you that the root problem is that the library author's design over-uses exception. But when the library in question is the standard library and the operation is as basic as Integer.parseInt, then I think it's fair to criticize that as a language issue, because the standard library sets the standard for what is idiomatic + performant for a language. |
|
It might be helpful to have Integer.validateInt(String), but currently it's up to author to do that themselves.