Monthly Archives: September 2008

Deptartment Of Superfluous Code

Am I missing something here? ’cause it sure looks like an “or” would have served this better than an else if. if (tokenInfo.IsParentCalculation) { LoopTableSave(); GetValue(tokenInfo.Id); LoopTableRestore(); } else if (tokenInfo.AliasOf != 0) { LoopTableSave(); GetValue(tokenInfo.Id); LoopTableRestore(); }

Posted in Coding | 1 Comment