Why do some people use apostrophies in variable names?
Robert Edis
robeconsult@sbcglobal.net
Tue, 11 May 2004 12:37:12 -0700 (PDT)
--0-1293364602-1084304232=:28461
Content-Type: text/plain; charset=us-ascii
Was that the variable '_' or a one char string containing the underscore character? :)
Joe Boyle <joeboyle_adt@hotmail.com> wrote:
could it be that you don't have to press the shift key all of the time ? :-)
It's also often used on VMS platforms and I'd use it in place of the '_' if databases accepted it.
>From: "Deskin, Bob" <Bob.Deskin@cognos.com>
>To: "Robert Edis" <robeconsult@sbcglobal.net>, "PowerHouse List" <powerh-l@lists.sowder.com>
>Subject: RE: Why do some people use apostrophies in variable names?
>Date: Mon, 10 May 2004 21:56:30 -0400
>
>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.
>Bob Deskin
>Product Manager, Application Development Tools
>Cognos Inc. 3755 Riverside Drive, Ottawa ON K1G 4K9 CANADA
>bob.deskin@cognos.com (613) 738-1338 ext 7268
>
>-----Original Message-----
>From: powerh-l-admin@lists.sowder.com [mailto:powerh-l-admin@lists.sowder.com]On Behalf Of Robert Edis
>Sent: May 10, 2004 8:09 PM
>To: PowerHouse List
>Subject: Why do some people use apostrophies in variable names?
>
>
>I've seen a number of people use apostrophies in field names with PowerHouse. WHY????
>
>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.
>
>What's wrong with using under[score|bar]s? Much more readable.
>
>Blue
>
> 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.
>
---------------------------------
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
" 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.
Robert JM Edis
Principle Consultant
Robert Edis Consulting
P.O. Box 676
Deerfield IL 60015
USA
1-847-612-3863
RobEConsult@sbcglobal.net
--0-1293364602-1084304232=:28461
Content-Type: text/html; charset=us-ascii
<DIV>Was that the variable '_' or a one char string containing the underscore character? :)<BR><BR><B><I>Joe Boyle <joeboyle_adt@hotmail.com></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>
<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> = = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list: powerh-l@lists.sowder.com Subscribe: "subscribe" in message body to powerh-l-request@lists.sowder.com Unsubscribe: "unsubscribe <PASSWORD>" 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.</BLOCKQUOTE></DIV><BR><BR><DIV><FONT face="comic sans ms" color=#0000ff><STRONG>Robert JM Edis</STRONG></FONT></DIV>
<DIV>Principle Consultant</DIV>
<DIV><EM>Robert Edis Consulting</EM></DIV>
<DIV>P.O. Box 676</DIV>
<DIV>Deerfield IL 60015</DIV>
<DIV>USA</DIV>
<DIV>1-847-612-3863</DIV>
<DIV><A href="mailto:RobEConsult@sbcglobal.net">RobEConsult@sbcglobal.net</A></DIV>
<DIV> </DIV>
--0-1293364602-1084304232=:28461--