My programming style: Mostly simple pure functions, named clearly


My programming style:

Mostly simple pure functions, named clearly.
Keep impure functions small, and focused.

Benefits:
✅ Each function is easy to understand, read, and reuse.

✅I rarely mock dependencies because pure functions are easy to test. I just pass args.

View original on X