New interesting concept, that I discovered when I read Understanding the Four Rules of Simple Design Corey Haines
And this post
The main idea behind this concept is replace the same kind of conditions by objects. Because with this conditions we are mixing two different concepts (breaking single responsibility principal).
I've applied this concept in this project
No hay comentarios:
Publicar un comentario