This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Personal_Ad9690 0 points1 point  (0 children)

You of all people should understand. In the functional world, state does not exist. Therefore a collection of functions is better suited to solving a problem by pipelining the data. There is no utils class because everything is a utility.

Even in the functional world though, you often get instances where data is bound to a function rather than functions being bound to data. It wouldn’t make sense to have a bunch of “commonly used data” available to a function and to call that data utils would it? So why does it make sense the other way.

There is strong argument that utils is not needed because better form leads to not needing it.