View Single Post
  #4 (permalink)  
Old 01-21-2007, 07:16 AM
cockeyedcowboy's Avatar
cockeyedcowboy cockeyedcowboy is offline
Senior Member
 
Join Date: Nov 2005
Posts: 268
cockeyedcowboy is on a distinguished road
Quote:
Originally Posted by ftsdPadawan
It seems to have been the way I handled total = OrdersTotal().

If anyone would explain why, that would be terrific. I still don't understand why the first way I posted didn't perform the same.

Attached is my modular version of Coders Guru Lesson 16 which appears to perform the same.
ftsdPadawan

May I seggest you read 'Code Complete' published by MicrowSoft Press, The information in it is language independent. Don't know if its still in print but you are sure to get a used copy of it on the net, if not. It will show you how to really construct code in module blocks. It will also tell you what coding Style has to do with readablity. What you have done here was to break the code up into peices, far from what would be consided good programing style.


[Edit] Another good read is, 'Rapid Development' also published by MicrowSoft Press.

Last edited by cockeyedcowboy; 01-21-2007 at 07:18 AM.
Reply With Quote