Created
April 27, 2012 14:20
-
-
Save mediocretes/2509650 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
topriddy: _ollie: UncheckedExceptions are not good. For example, in storing a user, i search for the username if already used, now MongoDB Java driver throws on this search, worse still it doesnt force my method from catching it | |
[2:17pm] nofxxxx left the chat room. (Ping timeout: 256 seconds) | |
[2:18pm] _ollie: pretty much everyone in the java world agrees that checked exceptions were a mistake from the beginning… have you ever wondered why no other mainstream language has them? | |
[2:18pm] mediocretes: unchecked exceptions aren't enterprise ready | |
[2:18pm] _ollie: says who? | |
[2:18pm] topriddy: mediocretes: +1 | |
[2:19pm] _ollie: good that the spring framework is pretty much the defactor standard for enterprise applications and heavily features unchecked exceptions… | |
[2:19pm] mediocretes: woosh | |
[2:19pm] topriddy: _ollie: well i dont like seeing exceptions for that use case, i even quarelled with the daolayer designer in my team cos he refused to remove the output from logs | |
[2:19pm] marthinal left the chat room. (Remote host closed the connection) | |
[2:19pm] _ollie: how does that align with your argument? | |
[2:20pm] benatwork joined the chat room. | |
[2:20pm] _ollie: unchecked exceptions don't force you to log anything? handle them at the place you can really handle them… done… | |
[2:20pm] mediocretes: I believe I already said 'woosh'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment