Inversion of Control visualized
I recently bought a smart scale. Why? Because I like data and I think it’s fun to collect and analyze my weight. But… I noticed something funny.
I refactored a piece of code but I’m not sure if I made it better.