Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain of interest #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions domain/DOMAIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## What is the "domain"? What is a "model"?

- Domain modeling is the modeling of a domain of interest. Not a canonical, overarching domain but a subset
you are interested in. E.g. a seat can have numbers in a context that mandates assigned seating e.g. flight bookings
but not in another which does not e.g. watching a music concert; the domains differ even though they are dealing with
the same object i.e. seat. The domains differ because the contexts differ.
- why have a model?
- why prefer Value Objects?
- how does good OOP mirror FP (or vice-versa)?
Expand All @@ -11,6 +15,7 @@
- how is good OOP different from FP?
- prefer fine-grained abstraction pushed to "leaf nodes" of the object hierarchy
- avoid highly generic constructs
- objects are better thought of as Procedural Data Abstraction i.e. late-bound behavioral specialization triggered by receipt of a message through its public API. This is why it inter-object communication message needs to be as emphasized as the objects themselves.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you elaborate on late-bound behavioral specialization?


- [tbd - domain-v-model.jpg]

Expand Down