Date: Fri, 3 Dec 2004 08:01:42 GMT
Reply-To: Alan Churchill <EMAILDIRECTLY@SAVIANSOFTWARE.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Alan Churchill <EMAILDIRECTLY@SAVIANSOFTWARE.COM>
Subject: Re: OT: Code Complete
.NET uses a mix of Pascal and Camel casing (Bactrian, I believe ;-]). While it can get tricky to translate to SAS, it would basically be something like:
Data RegressionResults; <--- Pascal
...
regressionResult1 = 5.67 ; <--- Camel
Run; ?
Pascal is reserved for higher order type of items while camel is used for variables. This is very loose definition by me and people should consult the Microsoft website for specifics.
However, without intellisense in the editor or case sensitivity in the language, this would be a bear (Grizzly) to do on a daily basis. There are add-ins to Visual Studios that autocorrect your code so that the variables are cased properly.
Thanks,
Alan
Savian
"Bridging SAS and Microsoft Technologies"
nntp://news.qwest.net/comp.soft-sys.sas/
Okay Jules,
I can't find a thing in Code Complete on using All Caps, mixed case, or all low case. The example I was thinking of uses a source code format program that does mixed case amoung other things. However, if i remember right the recommended .NET standard use camel case, you might want to go look and see what you can find under their recommended standards.
Toby
________________________________
From: SAS(r) Discussion on behalf of Bosch, Jules
Sent: Thu 12/2/2004 3:31 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: OT: Code Complete
I have been searching this classic software construction book for a
reference regarding problems associated with coding in all uppercase. An
hour ago I would have bet that the reference was in this book and that I've
seen it many times. Now, I am not sure. Can anyone familiar with the book
give me a page number re coding in uppercase? I mean if it's there.
TIA,
Jules Bosch
*********************************************************************
This message and any attachments are solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use or distribution of the information included in this message is prohibited -- Please immediately and permanently delete.
[comp.soft-sys.sas]