News for hackers. Stuff that matters.
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".

Re:Better Software Design with Clean Architecture by UK-AL on Monday July 03, 2017 @08:11AM (#14687658)
Bi-directional models come with their own problems.