Why do some people use apostrophies in variable names?
Joe Boyle
joeboyle_adt@hotmail.com
Tue, 11 May 2004 10:47:48 +0100
<html><div style='background-color:'><DIV class=RTE>
<P>could it be that you don't have to press the shift key all of the time ? :-) </P>
<P>It's also often used on VMS platforms and I'd use it in place of the '_' if databases accepted it.<BR></P></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><br clear=all><hr>Have more fun with your phone - download ringtones, logos, screensavers, games & more. <a href="http://g.msn.com/8HMAENUK/2746??PS=47575">Click here to begin!</a> </html>