David the Developer's Tech Tidbits
Wednesday, November 4, 2009
Anti-pattern: Exceptions for Program Execution Flow
TIP: Exceptions are relatively expensive. It's generally wise to use them in exceptional conditions ONLY.
These details hold true for both Java and C#:
http://stackoverflow.com/questions/299068/how-slow-are-java-exceptions
http://hstm.wordpress.com/2006/05/10/java-exceptions-are-expensive/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment