Fluent interfaces

We discuss about:
– APIs and fluent interfaces (called sometimes “internal DSLs” or “embedded DSLs”)
– nested functions
– method chaining
– example in Scala


Remarks

  • Slides on APIs vs. internal DSL are based on section 2.8.1. of M. Voelter’s book DSL Engineering.
  • Slides on nested functions and method chaining are based on M. Fusco’s presentation Real world DSL.

Additional materials