Introduction In our previous article, we looked at - Inheritance vs Polymorphism [https://www.packetflow.co.uk/python-inheritance-vs-polymorphism/]. Within this article, we will look at another OOP aspect - Inheritance vs Composition. To explain this our example will be base upon a small ACL builder. This builder build an ACL for either an IOS or Junos based device. I appreciate the full config isn't included, but its adequate for the scope of this tutorial. Inheritance Inheritance establishes

Close You've successfully subscribed to PacketFlow.
Close Success! Your account is fully activated, you now have access to all content.
Close Welcome back! You've successfully signed in.
Close Nearly there! To activate your account, please click the link in the email we just sent you.