Conceptual
Login

Python Fluent Interface Pattern Animation Sequence

A fluent interface is an API design style in which methods return the object itself so calls can be chained, producing code that reads as an ordered sequence of operations or a domain-specific language. Its goal is readability and expressiveness rather than performance, and it works best when the definition of a sequence is kept independent from the code that consumes it. It belongs to object-oriented API design and design patterns, is closely related to but distinct from the builder pattern, and is justified only while it improves readability.