This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
All of the StringBuffer methods operate on the value of the StringBuffer objects invoking the method. So why do some of the StringBuffer methods such as append, insert, reverse have StringBuffer as a return type? What is the point of this? The only reason I can think of is so that method calls can be chained to each other. Is this correct? Or am I missing something? Thanks. Mansi