How to write idiomatic (non-OOP) Julia version of OOP design pattern?

This might help.

if you search the forums for “oop”, you will find many threads that have discussed this topic.