Be nice to others and your future-self: use Data Objects.
Data Objects explicitly define available attributes. This self-documentation is a great gift for other developers (and your future-self). In this blog post, I show the benefits of using Data Objects and how to use to Virtus to turn a complex data structure of nested hashes and arrays into Data Objects.
Post a comment