/temporal-patterns-kata

Temporal patterns kata

Primary LanguageKotlin

Temporal Patterns Workshop

Gitmoji

This is my implementation for the Temporal Patterns hands-on lab that was animated by Hadi Ahmadi at DDD Europe 2023.

Steps

Temporal property

The address of a customer can change over time, and we want to keep track of these changes.

Temporal object (preparation)

A supply plan defines demands for days (e.g. every mondays and fridays) within an active period. We need to be able to

  • resolve total demands for a given time period
  • resolve the list of daily demands for a given time period

Temporal object

The supply plan can be modified, and we want the changes to be taken into account for the operations defined in the previous step.