|
|
|
|
|
by mbrock
3280 days ago
|
|
If I say "students can be registered for courses in the school" then you might think the OO model should be school.register(student, course)
which does actually seem reasonable to me. Here the school object would basically be the system's logic as a whole, and both the course and the student could just be IDs.I really think single dispatch OO is a huge distraction and I haven't seen any strong arguments for its use as a general paradigm. |
|