OOP & Design Patterns - Open/Closed Principle - Open for Extension, Closed for Modification
A legacy system uses a large switch statement to handle different file parsers. A developer replaces the switch with polymorphic parser classes but still modifies the base parser class for new file types. How does this affect adherence to the Open/Closed Principle?
