Classes for all the things?
Recently I’ve been thinking a lot about how to simplify my code. Now, the key thing to note
here is that simple != familiar.
Classes for example are familiar to most people. But code consisting exclusively of classes and OOP concepts isn’t necessarily simple all of the time. The question arises: Is there something simpler?
Well, the first thing that comes to mind, of course, good old functions. Functions are universal, everybody understands them, even new programmers that don’t yet get all the fancy concepts about OOP, get plain old functions.
Keep in mind, I’m not saying that classes don’t have their place in our code, but rather that maybe we don’t need them quite as often as we might think.