Datasheet
28
x
CHAPTER 1 PRIMER
If every (or most every) language construct is an expression, it means the language takes a more
input-yields-output style to it, which reinforces the general nature of testable programs, rather than
just as a series of statements.
SUMMARY
This chapter began with a litany of the fl aws of the object-oriented mindset and detailed what a new
language might look like — one in which functions and methods were given fi rst-class citizen status,
the compiler could infer static type information from more of the language constructs, variable and
fi eld immutability serves as the default, and expressions formed the core of the language instead of
imperative statements.
In short, we have just authored a language strikingly similar to the F# programming language. The
remainder of this book details that language.
c01.indd 28c01.indd 28 10/1/2010 3:20:39 PM10/1/2010 3:20:39 PM