Java Records: A Liability in Disguise, Not the Asset They Promise
Java 16 introduced records with great enthusiasm: a compact way to model “plain data aggregates.” Declare the components, and the compiler generates the constructor, accessors, equals(), hashCode(), and toString(). Immutable. Transparent. Automatic.
...
blog.leonpennings.com6 min read