From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,66bc6b039f1e005d X-Google-Attributes: gid103376,public From: John Magness Subject: Re: Case for case-sensitivity (Was: Three simple questions) Date: 2000/10/10 Message-ID: <39E397D4.D406B055@swbell.net>#1/1 X-Deja-AN: 679907878 Content-Transfer-Encoding: 7bit References: <2BED68CA963D6D55.A78776F656DA0452.75A61ED22116F1B6@lp.airnews.net> <39e2588f.21565740@news.demon.co.uk> <8s01hu$qms$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@swbell.net X-Trace: nnrp1.sbc.net 971216710 209.184.83.59 (Tue, 10 Oct 2000 17:25:10 CDT) Organization: N.O.Y.B. MIME-Version: 1.0 Reply-To: jmagness@swbell.net NNTP-Posting-Date: Tue, 10 Oct 2000 17:25:10 CDT Newsgroups: comp.lang.ada Date: 2000-10-10T00:00:00+00:00 List-Id: mjsilva@my-deja.com wrote: > In article > , > Frank Christiny wrote: > > > As for the computer languages, consider this: > > > > 1. Case sensitivity allows for a greater array of variable naming > > and semantics. In case-insensitive languages you cannot reuse a > > chunk of the english vocabulary because it has already been > > "privatized". Not only can you not use "while", but "While", or > > "WHILE", etc. > > Surely this is not a serious burden! When I use C I would never think > to use different-case reserved words for variables. > > > Once you define "My_List", the type, you cannot > > declare "my_List", the object. > > I developed this habit in C, but now I realize I mostly did it from > laziness. In your example My_List is a type while my_List is an > instance of that type being used for a specific purpose. With a little > thought "my_List" can no doubt be given a more helpful name such > as "Input_list" or Student_list"; something that better indicates the > function of this particular My_List. > > Mike > > Sent via Deja.com http://www.deja.com/ > Before you buy. type my_list_type is ...... or type my_list_t is ... my_list : my_list_type; I know many Ada programmers who suffix type names like this. Including myself on occasion. No big deal. John