Existing frameworks and libraries that access instance variables through getters and setters won’t work with records. Here’s what to do.
When doing currency calculations in Java, you might use java.math.BigDecimal—but beware of some of that class’s unique challenges.