Coming from an object oriented framework (Python) and trying to implement a Flyweight pattern in Julia (https://en.wikipedia.org/wiki/Flyweight_pattern)
Not quite sure how to do this given the multiple dispatch framework and lack of inheritance in Julia. Wondering if any Julia experts have thought about implementations of primarily object oriented design patterns (e.g. Gang of Four) and how they can be ported over to Julia (or if not whether there are any alternatives)
Aucun commentaire:
Enregistrer un commentaire