Re: Shopping with Accounts

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48317
interpreted = N
texte = Um, I have a database with the following header: skudatetimeurlipaddressbrowsernamereferrersearchfounditemsDo you think this will cause a problem down the line? (just kidding, I'm having a crazy day... carry on...)-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ On Tue, 04 Mar 2003 14:15:40 -0600 Donovan wrote: >Marc Kaiwi wrote: > >>No this is a good example > >>... WebDNA always knows what context it's in. > >:-) WebDNA might know what context it is in... but it might >not be the one that you think it is in. > >hmm, Whats not good about my example again? :-) >Simply, If you use similarly named vars inside two contexts that use that var name, >then this is illegal and your results will be unknown (thus incorrect). > >>May seem a little confusing at first but just always think of it as >>being a local variable or local in scope. > >>If you need a value from somewhere outside the local scope or way >>down in the nest then assign it some name or other. > >This is a correct statement and is exactly what I was referring to when I said that >there are ways to code the above to get it to do what you want. > >However, there are other things Kimberly might want to consider in her naming >conventions.... such as: >• discerning between same names can be confusing when anylizing/changing >complex code. >• the possibility of having to do work arounds (like the one above) > >What it boils down to is a personal preference of naming conventions. >I'm not going to rip on someone for using the same names as the orderfile >names if it works for them. :-) Just sharing my experiences. > > >cheers, >Donovan > >> >> >>kind of interesting topic. >> >> >> >-- >-Donovan Brooke >-Administrator of IT / >-Assc. Art Director >-Creative Services >-Epsen Hillmer Graphics > >-402.342.1169 X297 > > > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://webdna.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Shopping with Accounts (Donovan 2003)
  2. Re: Shopping with Accounts (Kimberly D. Walls 2003)
  3. Re: Shopping with Accounts (Brian Fries 2003)
  4. Re: Shopping with Accounts (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Shopping with Accounts (Dan Strong 2003)
  6. Re: Shopping with Accounts (Donovan 2003)
  7. Re: Shopping with Accounts (marc@kaiwi.com (Marc Kaiwi) 2003)
  8. Re: Shopping with Accounts (Donovan 2003)
  9. Re: Shopping with Accounts (Charles Kline 2003)
  10. Re: Shopping with Accounts (marc@kaiwi.com (Marc Kaiwi) 2003)
  11. Re: Shopping with Accounts (Clint Davis 2003)
  12. Shopping with Accounts (Kimberly D. Walls 2003)
Um, I have a database with the following header: skudatetimeurlipaddressbrowsernamereferrersearchfounditemsDo you think this will cause a problem down the line? (just kidding, I'm having a crazy day... carry on...)-Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com (208) 319-0137 | Toll-free p/f 877-561-1656 ------------------------------------------------------------ On Tue, 04 Mar 2003 14:15:40 -0600 Donovan wrote: >Marc Kaiwi wrote: > >>No this is a good example > >>... WebDNA always knows what context it's in. > >:-) WebDNA might know what context it is in... but it might >not be the one that you think it is in. > >hmm, Whats not good about my example again? :-) >Simply, If you use similarly named vars inside two contexts that use that var name, >then this is illegal and your results will be unknown (thus incorrect). > >>May seem a little confusing at first but just always think of it as >>being a local variable or local in scope. > >>If you need a value from somewhere outside the local scope or way >>down in the nest then assign it some name or other. > >This is a correct statement and is exactly what I was referring to when I said that >there are ways to code the above to get it to do what you want. > >However, there are other things Kimberly might want to consider in her naming >conventions.... such as: >• discerning between same names can be confusing when anylizing/changing >complex code. >• the possibility of having to do work arounds (like the one above) > >What it boils down to is a personal preference of naming conventions. >I'm not going to rip on someone for using the same names as the orderfile >names if it works for them. :-) Just sharing my experiences. > > >cheers, >Donovan > >> >> >>kind of interesting topic. >> >> >> >-- >-Donovan Brooke >-Administrator of IT / >-Assc. Art Director >-Creative Services >-Epsen Hillmer Graphics > >-402.342.1169 X297 > > > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://webdna.smithmicro.com/------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Dan Strong

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

How to set triggers (1998) Banner DNA (1997) Using Cookie for client specific info? (1997) NT challenges default admin/admin password (2000) Me know logical no need (2002) where to put code (1998) Help formatting search results w/ table (1997) WC1.6 to WC2 date formatting (1997) (2000) help with duplicate records posted (1998) Separate SSL Server (1997) New site announcement + Showing once on a founditems (1997) Random question (1998) CAll me Crazy (2000) Emailer setup (1997) shownext problems (1998) Time Until (1999) LOOKUP and Math operations (2001) CAPTCHA system in webDNA (2005) RE: Re:Signal Raised (1997)