Alberto Gonzalez
Software Developer at doWhile | Computer Scientist | ICPC World Finalist | EN | ES
Prerequisites Before reading this article, you should be familiar with the topics exposed in Part I. Be sure to read and understand the problem described there and the flaws of the initial solution proposed. Also, try to think about an alternative so...
albexl.hashnode.dev10 min read
An excellent and very clean solution to a fairly everyday problem. What I liked the most is the assignment of responsibilities to the classes derived from the interface, which in the initial solution appeared disconnected from each other.
Carlos R. González Jiménez
Software developer
Another important and extremely relevant aspect of the proposed solution is the possibility of extending the access verification process and making it more specific depending on the type of visitor. For example: take into account the age of the person or the visiting hours of the vehicle depending on the type or number of legs of an animal.