Introduction
Java Wisdom is a culmination of knowledge collected during the process of my software development projects. It does not pretend to be a one-stop-shop for all your Java knowledge, but instead aims to provide some (slightly) opinionated views on good Java practices.
Have a look at the posts below if you're interested. Worst case, you can always skip to the next one.
Core
Performance
- Be Comfortable Taking a Byte
- Concatenate over Format
- Create Smaller Methods
- Enum Collections if Possible
- Pre-Compile Regexes
- Size Potential Maps
- String Concatenation
Maintainability
- Employ Java Records
- Favour Direct Class References
- Literal Placement
- Make Objects Immutable
- Parameterise your Tests