Category: Algorithm

  • Revisiting the Visitor Pattern to design resilient software library

    Revisiting the Visitor Pattern to design resilient software library

    The visitor pattern is a behavior design pattern, which means it presents a scheme for objects to work together towards solving a problem. The problem the visitor pattern solves is to add functionalities to a class hierarchy without having to modify every class. We will examine this pattern in the context of designing software library. […]