Internal DSL Pattern: Nested Function


This is a portion of a larger set of posts on the subject of Internal DSLs.

Nested Function is a pattern explained by Martin Fowler as part of his DSL book work in progress. Fowler’s take on Nested Functions is useful to more fully understand this post (and probably realize some of this post’s flaws).

Internal DSL Pattern: Method Chaining