Archives for June, 2015

Python design patterns #4: visitor

Another favorite. Much simpler than the decorator, but sleeker no less:) Who left the door open? What if we could let someone operate over our object, whoever that someone was, whatever our object looks like and for any possible reason? Intuitively a door left open comes to mind. Its not a matter of having the […]