Discussion about this post

User's avatar
Mark Wilson's avatar

I had the same "epiphany" about core objects and stand-alone functions years ago. Like a serialize class that handles all the basic c++ types, and then stand-alone functions for more complex user-defined types. Helps meet the OCP really well.

Expand full comment
Hamza's avatar

Interested in your thoughts on using `extend self` over `module_function`

Expand full comment
7 more comments...

No posts