|
|
|
|
|
by Quarrelsome
3280 days ago
|
|
I just think its bad because its asking the student to be involved in the process of registration. I don't think that way of thinking scales. Unless you're making a util (which enables any architectural practice tbh) you're gonna eventually get stung if you pollute your currency with logic.
Currencies just like graphical interfaces should be as dumb as possible. One day someone is going to want slightly different rules for student course registration and then they'll realise this rule is baked into the core and that's sad. |
|
This is a desirable trait, and one of the main points of DDD. If you want to change registration, you change the core business logic. It then applies to all applications using that business logic. If you have a real business case for different registration methods, then you simply model that on your entities.
If you don't do this, your going to get business rules applied inconsistently as programmers will interpret requirements slightly differently.