On Wednesday 17 July 2002 4:03 pm, Andre Poenitz wrote: > On Wed, Jul 17, 2002 at 03:31:16PM +0100, Angus Leeming wrote: > > You should add a note to the user of the preferences dialog: > > Ok. > > But as I have this file in the editor now: Would anybody mind me changing > things like > > string str; > if (...) { > str = ... > } else if (...) { > str =... > } > return str; > > to > > if (...) > return ... > if (...) > return ... > return string(); > > ? I find this more readable as I do not have to scroll down to learn that > str is no further modified and it might save a copy as well. > > Andre'
Go ahead. Angus