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=-2.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI,PP_MIME_FAKE_ASCII_TEXT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,e26ffba340697f29 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-19 05:37:19 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!easynet-monga!easynet.net!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!freenix!enst!enst.fr!not-for-mail From: Wilhelm.Spickermann@t-online.de (Wilhelm Spickermann) Newsgroups: comp.lang.ada Subject: Underscore Usage (was: Type Conversion in an Assignment Statement) Date: Tue, 19 Jun 2001 14:35:44 +0200 (CEST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 992954237 24028 137.194.161.2 (19 Jun 2001 12:37:17 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Tue, 19 Jun 2001 12:37:17 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: XFMail 1.4.0 on Linux X-Priority: 3 (Normal) In-Reply-To: <3B2EE620.6BD7E657@informatik.uni-jena.de> X-Sender: 0211750756-0001@t-dialin.net Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:8888 Date: 2001-06-19T14:35:44+02:00 On 19-Jun-01 Carsten Freining wrote: > That is something, where Professor Winkler has another opinion. Talkng about > a Program, the 'Underscore' is a problem. Telling somebody that Integer > 'Underscore' Access 'Underscore' Type is more confusing. So he set the rule, > that the Names in the program should be without the 'underscore'. It makes > the Program a little less readable, but better 'talkable' what is for > Exercises or courses a little better to work with. I think this is a problem depending on the language used to build the variable names. In english you can simply say "Integer Access Type" without mentioning underscores -- this will not cause any problems. The rule to put underscores between words _is_ confusing using languages like german (or AFAIK swedish): Some people will write "Programming_Language" as "Programmiersprache" and some will write "Programmier_Sprache" -- the first one is a correct german word (containing two words) and the second one has underscores between the words (in swedish "Programspr�k" or "Program_Spr�k"). Personally, I like to replace blanks and hyphens by underscores but never put additional underscores into the variable name. So we have something in common as far as "Programmiersprache" is concerned -- but I wouldn�t write "BesteProgrammierSprache" or "Beste_Programmier_Sprache" but "Beste_Programmiersprache". Wilhelm