Eliminating Toil Of Writing Value Classes in Java
Abstract
Writing and maintaining value classes (classes that are mainly data carriers) in Java can be a cumbersome task. This is because traditionally Java did not have special support for value classes which is present in other languages like Python. In this paper we discuss the use of Google’s Auto Value library to create value objects. We also discuss Java Record classes, which are a new feature added in Java 16 to support value classes.
Keywords
value classes, programming best practices
Downloads
Download data is not yet available.