Fluent interface, first coined as a term by Martin Fowler, is a very convenient way of communicating with objects in OOP. It makes their facades easier to use and understand. However, it ruins their internal design, making them more difficult to maintain. A few words were said about that by Marco Pivetta in his blog post Fluent Interfaces are Evil; now I will add my few cents.
[image error]Donnie Brasco (1997) by Mike Newell
Let's take my own library jcabi-http, which I created a few years ago, when...
Published on March 12, 2018 17:00