Details
Code seems to be divided in these two worlds: things are either data we model, or behaviors that manipulate data. But what happens when behaviors are what we have to model? In this talk we look at a concrete example — modeling the attacks in a trading card game — and refine the model step by step. By the end we reach what other communities call “initial encodings”, a powerful technique for your domain-specific languages.