In today's day and age, for a business to stay competitive, it's no longer enough to just design a good-looking and functional product. Consumers worldwide want intelligent products that can create, access and analyze data, and then feed those results back to them in order to optimize the user experience. Simply put, the Internet of Things (IoT) combined with Big Data, is the future of technology that is making our lives more efficient.
This article aims at presenting an example of how the Shapeless library can be used to solve a problem in a generic manner, meaning "solving the same problem for any data-type, using the exact same code". I will start by presenting the problem and the solution, and will explain the mechanisms used by that solution, in the hope that it will demystify some of the magic behind Shapeless, that seem to scare some developers away.