Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 454 Bytes

File metadata and controls

10 lines (7 loc) · 454 Bytes

Write builders for your performables

If you write a new performable class, it is strongly recommended to write a static builder for it. Benefits include:

  • Ensuring that the performable may only be created in a valid state
  • Making your performance logic more human-readable, almost like a domain specific language