Posts by Maycon Pires • 36 points
2 posts
-
1
votes1
answer51
viewsA: How to obey the Open/Closed principle in this situation?
Good afternoon Leonardo, recommend you solve your problem using the Rules Pattern. With this, you will have a unique responsibility for each type of task you will do and also respect the…
-
1
votes1
answer79
viewsA: Data modeling with people of different profiles
You have the following option: 1- Create a Person table with a Primary Key ID. In this table you will have all the common data of people (Teacher and Student). 2- Create a Teaching table that has as…