What's the term for design ala "object.method1().method2().method3()"?
c++
Solution
Looks to me like you are describing a fluent interface. Ive also heard it referred to as pipelineing or chaining.
Update-Gishu: http://martinfowler.com/bliki/FluentInterface.html
Problem
What's the term for this design? ``` object.method1().method2().method3() ``` ..when all methods return *this? I found the term for this a while ago, but lost it meanwhile. I have no clue how to search for this on google :) Also if anyone can think of a better title for the question, feel free to change it. Thanks Update-Gishu: After reading about it, I feel that your question is misleading w.r.t. code snippet provided.. (Feel free to rollback) Method Chaining ``` object.method1().method2().method3() ``` Fluent Interfaces ``` private void makeFluent(Customer customer) { customer.newOrder() .with(6, "TAL") .with(5, "HPK").skippable() .with(3, "LGV") .priorityRush(); } ```