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.

Hamza's avatar

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

7 more comments...

No posts

Ready for more?