Why do some people use apostrophies in variable names?
Deskin, Bob
Bob.Deskin@Cognos.COM
Mon, 10 May 2004 21:56:30 -0400
This is a multi-part message in MIME format.
------_=_NextPart_001_01C436FB.2DDF6C68
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 =20
Product Manager, Application Development Tools=20
Cognos Inc. 3755 Riverside Drive, Ottawa ON K1G 4K9 CANADA=20
bob.deskin@cognos.com (613) 738-1338 ext 7268=20
-----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????
=20
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.
=20
What's wrong with using under[score|bar]s? Much more readable.
=20
Blue=20
=20
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.=20
=20
------_=_NextPart_001_01C436FB.2DDF6C68
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<HTML xmlns:eXclaimer=3D"http://www.exclaimer.co.uk">
<HEAD>
<META http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3DUTF-16">
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUTF-16">
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4937.800" name=3DGENERATOR></HEAD><BODY =
><DIV>
<DIV><SPAN class=3D628545401-11052004><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
single quote is one of the default special characters allowed in =
PowerHouse=20
names. I'd have to check, but it may be allowed in IMAGE names as well =
which is=20
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=20
history.</FONT></SPAN></DIV>
<DIV><SPAN class=3D628545401-11052004>
<P><FONT face=3DArial size=3D2>Bob=20
Deskin &=
nbsp; =20
</FONT><BR><FONT face=3DArial size=3D2>Product Manager</FONT><FONT =
face=3DArial=20
size=3D2>,</FONT> <FONT face=3DArial size=3D2>Application Development =
Tools</FONT>=20
<BR><FONT face=3DArial size=3D2>Cognos Inc.</FONT><FONT face=3DArial =
size=3D2></FONT>=20
<FONT face=3DArial size=3D2>3755 Riverside Drive</FONT><FONT =
face=3DArial=20
size=3D2>,</FONT> <FONT face=3DArial size=3D2>Ottawa ON K1G 4K9 =
CANADA</FONT>=20
<BR><FONT face=3DArial size=3D2>bob.deskin@cognos.com</FONT><FONT =
face=3DArial=20
size=3D2></FONT> <FONT face=3DArial size=3D2>(613) 738-1338 ext</FONT> =
<FONT=20
face=3DArial size=3D2>7268</FONT> </P></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B>=20
powerh-l-admin@lists.sowder.com =
[mailto:powerh-l-admin@lists.sowder.com]<B>On=20
Behalf Of </B>Robert Edis<BR><B>Sent:</B> May 10, 2004 8:09 =
PM<BR><B>To:</B>=20
PowerHouse List<BR><B>Subject:</B> Why do some people use apostrophies =
in=20
variable names?<BR><BR></FONT></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=20
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=20
readable.</DIV>
<DIV> </DIV>
<DIV>Blue</DIV></BLOCKQUOTE></DIV>
<DIV> </DIV>
<DIV>
<P> <FONT FACE=3D"Arial" =
SIZE=3D"2">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.</FONT>
</P>
</DIV></BODY></HTML>
------_=_NextPart_001_01C436FB.2DDF6C68--