January 2018
Beginner to intermediate
312 pages
7h 22m
English
In the first chapter, when we were talking about the importance of a shared mental model, we emphasized that the code must also reflect this shared model and that a developer should not have to do lossy translations between the domain model and the source code. Ideally, we would like the source code to also act as documentation, which means that the domain expert and other non-developers should be able to review the code and check on the design.
Is that a realistic goal? Can we use the source code directly like this and avoid the need for UML diagrams and the like?
The answer is yes. In this chapter you’ll learn how to use the F# type system to capture the domain model accurately enough for code but also in ...
Read now
Unlock full access