I wish I'd read his essay on software scheduling a few years ago. http://www.joelonsoftware.com/articles/fog0000000245.html
Oh hell, just go read the whole site. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Ferris Sent: Thursday, 19 May 2005 11:34 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Include Vs Call - Software Maintenance Hmmmm - do you read Joel on Software ? I think you will find this article "interesting" http://www.joelonsoftware.com/articles/Wrong.html Ross Ferris Stamina Software Visage - an Evolution in Software Development >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:owner-u2- >[EMAIL PROTECTED] On Behalf Of Craig Bennett >Sent: Thursday, 19 May 2005 10:03 AM >To: u2-users@listserver.u2ug.org >Subject: Re: [U2] Include Vs Call - Software Maintenance > >> You chances of stuffing up a program that INCLUDEs logic by a small >change >> to that logic are much higher than if you CALL it as an external routine. >> Immediately you eliminate the risk of someone introducing a new local >> variable into either your main line or the INLCUDE and finding that it >> collides with something else which was also supposed to be local. > >Did I mention that I always make sure that ALL the local variables in an >included file have a unique prefix so that no two include files can have >the same variables (except when passing data between them). > >eg: > >CROSS.SMTP.ENGINE: > * ALL local variables start with SMTP > > >CROSS.PDF.ENGINE: > * All local variables start with PDF > >So another program such as CROSS.EMAILPDF can include both and be sure >that the two won't clash. > >Who said U2 BASIC couldn't have local and global scope! > > > >Craig >------- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/