In the Application class, there was a dependency on the Converter class that violated the Open/Closed principle. This PR attempts to resolve the dependency by injection, making the program more extensible. I don't 100% understand dependency injection yet, so definitely let me know if I'm on the right track in how I'm thinking about this.
You're on the right track here! But what if I wanted to use a different converter that converted the roman numeral to the number spelled out in English (ex. "eighteen")?
In the Application class, there was a dependency on the Converter class that violated the Open/Closed principle. This PR attempts to resolve the dependency by injection, making the program more extensible. I don't 100% understand dependency injection yet, so definitely let me know if I'm on the right track in how I'm thinking about this.