Wednesday, April 20, 2011

Fluent Interface

http://en.wikipedia.org/wiki/Fluent_interface

and more remarkably

http://www.martinfowler.com/bliki/FluentInterface.html

Most Java code is simply a fist in the eye... too much rumor... I want to improve readability of the code by using tricks like "import static" and operations (setters) which return the object itself on which the operation was invoked, so you can chain multiple operations on the same line.

No comments: