Method Chaining, to use, or not to use

It was a Gavin King’s book from which I first heard about method chaining since it is not that popular style in Java.

Bauer and King in their book entitled ‘Java Persistence with Hibernate’ (2007), point out that method chaining is convenient in some cases and is more popular in Smalltalk than in Java for Smalltalk, unlike Java, does not have void type. Thus when a method is invoked, it normally returns the object itself

[...Continue reading Method Chaining, to use, or not to use...]

Page 1 of 512345