View Single Post
Team Leader
23May2006,10:58  
coderzone's Avatar
Quote:
Originally Posted by Aztec
The code which you have shown I would term it as an advantage of temporary objects.
Exactly. Its better to be using the temp objects rather than creating a new object and copying the data into it and then returning the object.