I believe old time mariners had an aphorism: Sail with one chronograph or three, never two. Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) ----- Original Message ----- From: Harold M Hallikainen To: Sent: Tuesday, September 12, 2000 3:13 PM Subject: Re: [EE]:GOTO > Though use of a macro or an include file would allow this multiple > insertion of the code without the insertions diverging. The problem of > two copies of code and not knowing which is right is like the person with > two watches never knows what time it is, but the person with one watch > does. On the watch problem... If we average all the times on all the > clocks in a time zone, do we end up with the correct time, or is an error > introduced because my wife always sets some of the clocks (I never know > which ones) 5 to 10 minutes ahead? > > Harold > > > On Tue, 12 Sep 2000 11:59:22 -0400 Andrew Kunz > writes: > > >had potential to overflow. I can't remember what the case was, but > > I had the > > >option to either duplicate the code in the function, or use a goto. > > I wasn't > > >hurting for ROM, so I chose the duplicate code option. > > > > This approach if far more wrong than using a goto. If you need to > > change the > > function, you now must change it twice. At least with a goto, you > > know it's got > > to be there because you put a label on it. If you duplicated the > > code, the next > > guy has no idea you duplicated it because there isn't (aside from > > comments, > > which are usually wrong) anything to warn him. > > > > Andy > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST > > FCC Rules Online at http://hallikainen.com/FccRules > Lighting control for theatre and television at http://www.dovesystems.com > > ________________________________________________________________ > YOU'RE PAYING TOO MUCH FOR THE INTERNET! > Juno now offers FREE Internet Access! > Try it today - there's no risk! For your FREE software, visit: > http://dl.www.juno.com/get/tagj. > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST