
Collections in domain models
The Eric Normand Podcast
00:00
Object Oriented Programming
In object-oriented analysis, a student has a course translates directly into references. If they have multiple courses, well, it's a collection of references. But what we do in a more functional style or a data modeling style is we use a collection that represents pairs. So the registry can have pairings of students and courses. And now all you have to do is basically do a lookup.
Transcript
Play full episode