I know a little bit about Object Oriented design, but I\'m not sure how to go about using those principles in my code. Here\'s what I\'m working on:
pub
There are two OOP solutions polymorphism and Visitor pattern.