DEV Community

Do you know the Fluent Interface Pattern?

Like a chain

Use this type of pattern, allows the user call methods one by one in chain. Its very helpfull when you have a lot of methods inside the class.

Alt Text

Alt Text

Top comments (0)