Table of content for
Java Traps


Java Traps is a collection of things that are either plain wrong, odd or simply things that are perfectly all right, but tends to surprise programmers. Some of these articles will hopefully surprise you enough that you'll become interested in the Java language and in API design. Please send examples of stuff that has surprised you and I'll post it..

Java Traps: Big DecimalThis article documents the traps and pitfalls around using the BigDecimal class
Java Traps: doubleYou're in for some "Double trouble"! This article is a practical guide to describing the major traps and pitfalls associated with using the Javas simple type double. It is a must-read for any professional developer.