jeudi 24 novembre 2022

OCP and Facade with examples

I am trying to better understand Open-Closed Principle and Facade.

Question 1: OCP

If some software has a config file governing the operation of a software, is it an Open-Closed Principle case?

Question 2: Facade

Let's assume that the config file (level-1) is huge, too much detailed and somewhat redundant. Some software engineer made a smaller and more intuitive config file level-2 where level-2 can produce level-1. Is level-2 a Facade case?

Thank you,

I am trying to confirm if my understanding is correct.

Aucun commentaire:

Enregistrer un commentaire