Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observación sobre segundo principio SOLID (Open/Close) #10

Open
Darloscode opened this issue Jun 23, 2023 · 0 comments
Open

Observación sobre segundo principio SOLID (Open/Close) #10

Darloscode opened this issue Jun 23, 2023 · 0 comments

Comments

@Darloscode
Copy link

Se podría crear una interfaz llamada ScanBarCode con el método que implementarán las clases. De esta forma cada vez que el cliente quiera añadir nuevos códigos de barras solo tendrá que crear una nueva clase con el tipo de código que se requiera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant