By Marco Heimeshoff @Heimeshoff for Skillsmatter
๐ท๏ธ architecture event-sourcing domain-driven-design event-driven-design semantic-code domain-modelling
- Language & IDE : F# & VSCode + Ionide (*)
- Test runner: FSCheck-Expecto
- Method of sharing code: vscode live share
(*) โ๏ธ Note : command shortcut
fsi.SendSelection
is usually Alt+Enter but here it's Alt+Insert
- The low hanging fruit of DDD
- Can be compared with others using property equality - equals() and hashCode()
- Measures, quantifies, or describes a thing in the domain
- Is completely replaceable when the measurement or description changes
- Models a conceptual whole by composing related attributes
- Has Side-Effect-Free Behavior
- Can be maintained immutable
- The user selects the day and the time when he/she would like to see the movie.
- The system lists movies available in the given time interval - title and screening times.
- The user chooses a particular screening.
- The system gives information regarding screening room and available seats.
- The user chooses seats, and gives the name of the person doing the reservation (name and surname).
- The system gives back the total amount to pay and reservation expiration time.