What Is a Fluent Api?


The real question is what does fluent mean? It really relies on method chaining. The goal is to make making the code very easy to read. If you were to read the code out loud you might find it’s close to being grammatically correct. Lately it’s been very common to see libraries adopt this concept, which often uses the builder pattern as well as a domain specific language (DSL). You can read more about it here.

Leave a Reply

Your email address will not be published. Required fields are marked *