November 2009
Intermediate to advanced
560 pages
21h 40m
English
This chapter covers
When designing a functional program, first think about the data that the program works with. Because nontrivial programs use data, this phase is extremely important in application design. When implementing a program in a functional language, we also begin with the data structures that we’ll use in the code, then write operations to manipulate the data as the second step.
This is different from object-oriented design, where data is encapsulated in the state of the objects; processing is expressed as methods that are ...
Read now
Unlock full access