Anyone else here who really enjoys writing pure functions or domain classes?

It's so amazing to be able to write dependency-less classes that have such simple, elegant logic and sometimes just a bunch of getters and setters. Pure functions with type hints are also one of my favorites.

  • 1
    all my functions are impure as pigs.
    With hundred of side-effects including developer headache.
Your Job Suck?
Get a Better Job
Add Comment