Why do some people use apostrophies in variable names?
Joe Boyle
joeboyle_adt@hotmail.com
Thu, 13 May 2004 12:21:08 +0100
<html><div style='background-color:'><DIV class=RTE>
<P>they do say that column names should be kept short - for parsing performance ? - but I don't know if this is limited to relational databases or if it includes the IMAGE database :)<BR><BR></P></DIV>
<DIV></DIV>>From: Robert Edis <robeconsult@sbcglobal.net>
<DIV></DIV>>To: PowerHouse List <powerh-l@lists.sowder.com>
<DIV></DIV>>Subject: RE: Why do some people use apostrophies in variable names?
<DIV></DIV>>Date: Tue, 11 May 2004 12:37:12 -0700 (PDT)
<DIV></DIV>>
<DIV></DIV>>Was that the variable '_' or a one char string containing the underscore character? :)
<DIV></DIV>>
<DIV></DIV>>Joe Boyle <joeboyle_adt@hotmail.com> wrote:
<DIV></DIV>>could it be that you don't have to press the shift key all of the time ? :-)
<DIV></DIV>>
<DIV></DIV>>It's also often used on VMS platforms and I'd use it in place of the '_' if databases accepted it.
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>> >From: "Deskin, Bob" <Bob.Deskin@cognos.com>
<DIV></DIV>> >To: "Robert Edis" <robeconsult@sbcglobal.net>, "PowerHouse List" <powerh-l@lists.sowder.com>
<DIV></DIV>> >Subject: RE: Why do some people use apostrophies in variable names?
<DIV></DIV>> >Date: Mon, 10 May 2004 21:56:30 -0400
<DIV></DIV>> >
<DIV></DIV>> >The single quote is one of the default special characters allowed in PowerHouse names. I'd have to check, but it may be allowed in IMAGE names as well which is why it would have been included. Similarly, IMAGE allows hyphens but not underscores. Since PowerHouse started on MPE and IMAGE was big, well, that's the history.
<DIV></DIV>> >Bob Deskin
<DIV></DIV>> >Product Manager, Application Development Tools
<DIV></DIV>> >Cognos Inc. 3755 Riverside Drive, Ottawa ON K1G 4K9 CANADA
<DIV></DIV>> >bob.deskin@cognos.com (613) 738-1338 ext 7268
<DIV></DIV>> >
<DIV></DIV>> >-----Original Message-----
<DIV></DIV>> >From: powerh-l-admin@lists.sowder.com [mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Robert Edis
<DIV></DIV>> >Sent: May 10, 2004 8:09 PM
<DIV></DIV>> >To: PowerHouse List
<DIV></DIV>> >Subject: Why do some people use apostrophies in variable names?
<DIV></DIV>> >
<DIV></DIV>> >
<DIV></DIV>> >I've seen a number of people use apostrophies in field names with PowerHouse. WHY????
<DIV></DIV>> >
<DIV></DIV>> >They confuse the heck out of me when trying to visually parse code as they can be mistaken for the beginning or ending of the string litteral.
<DIV></DIV>> >
<DIV></DIV>> >What's wrong with using under[score|bar]s? Much more readable.
<DIV></DIV>> >
<DIV></DIV>> >Blue
<DIV></DIV>> >
<DIV></DIV>> > This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
<DIV></DIV>> >
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>---------------------------------
<DIV></DIV>>Have more fun with your phone - download ringtones, logos, screensavers, games & more. Click here to begin! = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list: powerh-l@lists.sowder.com Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com Unsubscribe: "unsubscribe
<DIV></DIV>>" in message body to powerh-l-request@lists.sowder.com http://lists.sowder.com/mailman/listinfo/powerh-l This list is closed, thus to post to the list you must be a subscriber.
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>Robert JM Edis
<DIV></DIV>>Principle Consultant
<DIV></DIV>>Robert Edis Consulting
<DIV></DIV>>P.O. Box 676
<DIV></DIV>>Deerfield IL 60015
<DIV></DIV>>USA
<DIV></DIV>>1-847-612-3863
<DIV></DIV>>RobEConsult@sbcglobal.net
<DIV></DIV>>
<DIV></DIV></div></html>