Re:Better Software Design with Clean Architecture
by konschubert on Monday July 03, 2017 @08:01AM
(#14687610)
If the pairings of courses and students are registered in the school object, then that's basically OO implementation of a many to many relationship of students and courses.
That's why I like Django. You just tell it that you want a many-to-many between students and courses and it does they for you, symmetrically, without forcing you to introduce a class such as "school".
That's why I like Django. You just tell it that you want a many-to-many between students and courses and it does they for you, symmetrically, without forcing you to introduce a class such as "school".