hi melchior, On Saturday 19 January 2008, Melchior FRANZ wrote: > * [EMAIL PROTECTED] -- Saturday 19 January 2008: > > and i am starting to do general clean-ups and optimizations > > (e.g. replacing serveral if - else if - else if... with switch) > > Don't do that! Switch *may* sometimes be the better solution, > and very often it isn't.
why. i need an explanation here. what is the advantage of if-else-if-else-if? more so: why "very often"? > When I used if/else-if somewhere, > then I *meant* it and don't want it changed! that's why i said i didn't want to step on anybody's feet. seems like i already did. - till ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel