我最近遇到了这个表达 - 但是阅读了维基百科上的相关内容并没有为我澄清太多 - 我还是不太理解它。
- What s the point of it
- How is it used in practice (i.e. how does it benefit a coder in their day to day work/building systems)?
[Edit] The Wikipedia article C++ example is overly long, and conflates the discussion of a fluent interface with an example of a simple Glut app. Can someone provide a SUCCINCT C++ example of a class that illustrates a fluent interface (how does such an influence differ from an ordinary C++ interface for example)?