Effective Java 3rd Edition
Key Points
- Static factory methods instead of constructors; builders for more parameters
- Prefer primitives to boxed primitives and watch out for unintentional autoboxing
- Whenever a class manages its own memory, the programmer should be alert for memory leaks
- Avoid finalizers and cleaners
- Producer-extends, consumer-super
Last updated on