Konubinix' opinionated web of thoughts

Data Classes

Fleeting

Data classes are just regular classes that are geared towards storing state, rather than containing a lot of logic. Every time you create a class that mostly consists of attributes, you make a data class

https://stackoverflow.com/questions/47955263/what-are-data-classes-and-how-are-they-different-from-common-classes