Why I Don’t Use Classes

By Andy Peterson.

View original

Excerpt: Instead of classes, I prefer modules that expose groups of functions that accept state and other dependencies.