Content deleted Content added
Removing link(s) to "Leda (programming language)": rm link to deleted article. (TW) |
|||
Line 111:
[[Method chaining]], also known as named parameter idiom, is a common syntax for invoking multiple method calls in object-oriented programming languages. Each method returns an object, allowing the calls to be chained together in a single statement without requiring variables to store the intermediate results.
When the named parameter object pattern is applied to an object hierarchy, things can
<source lang="cpp">
|