12-19-2005, 06:55 AM
Quote:axipher Wrote:......
Now I also agree with teaching future programmer's the oproper ways of structured programming, but it's hard when the easiest ways to do something involve what structured programming is against.
I sympathize with you. I have the same problem myself. It's like when my dentist showed me how I should brush my teeth. Damn, I've been doing it wrong all my life! It was tough, but I had to learn for the sake of not loosing my teeth.
Don't go back and modify an existing program. When you start a new one, decide that this one is going to be structured. Do some pencil and paper design before you start.
*****
If you were to read one of my posts possibly in another topic about how I use the graffiti part on the Palm Pilot and use the Stylus like a pen and that's my pen and paper. Now I guess once you make a program one way, it's hard to change it, I had a hard time porting programs to FB, now from GOSUB's to SUB's/FUNCITON's... Anyway, I now get what a SUB is, but how does a FUNCTION work?