This is an excellent take! π
That said you should strive to use both functions and classes. If you can simplify your functions to allow mostly any primitive input, thatβs great. It can be reused many times throughout your code. But if you have certain operations that only work with one type, then donβt be afraid to use a class
This advice looks sound. I'll definitely take it into consideration.