Chapter 1
Techniques to Reduce Development Time and Code
Section 6
Multiple Method Calls on an Object for Easier Readability
It is common that, after creating a class instance, a number of methods of the object will need to be called. That means the object named will be called a number of times. By using a number of scoping methods, the references to object names can be removed. - Add a with function to remove object names - Use the apply extension for method initialization - Successful calls of with and apply functions, with the expected result