Fluent Interface: Has wikipedia missed the mark on this one?




I was just reading Martin Fowlers article on Fluent Interfaces.

I then decided to check out Wikipedia's page on it - it seems to me that the example of fluent interface there is just a classic case of method chaining.  The impression I got from Fowler was that the "fluency" comes more from the language used (the method names), rather than just method chaining itself.

Fowler explains:

"I've also noticed a common misconception - many people seem to equate fluent interfaces with Method Chaining. Certainly chaining is a common technique to use with fluent interfaces, but true fluency is much more than that."

Have I completely lost the plot here or has wikipedia had a brain fade and given a really poor example on this one?



 del.icio.us  Stumbleupon  Technorati  Digg 

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this entry.
Comments
  • No comments exist for this entry.
Leave a comment

 Enter the above security code (required)

 Name

 Email (will not be published)

 Website

Your comment is 0 characters limited to 3000 characters.