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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 108717,ea99940253996e3e X-Google-Attributes: gid108717,public X-Google-Thread: f43e6,ea99940253996e3e X-Google-Attributes: gidf43e6,public X-Google-Thread: 109fba,ea99940253996e3e X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,ea99940253996e3e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-03 18:13:27 PST From: Peter Ammon Newsgroups: comp.software-eng,comp.programming,comp.lang.c++,comp.lang.ada Subject: Re: ISO Studies of underscores vs MixedCase in Ada or C++ Date: Fri, 03 Oct 2003 18:03:25 -0700 Organization: Apple Computer, Inc. Message-ID: References: <2cfd1a4e.0309252032.3e3c0a1a@posting.google.com> <3F7C37C3.B5469C33@Sonnack.com> NNTP-Posting-Host: pammon.apple.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.apple.com 1065229411 27089 17.201.23.72 (4 Oct 2003 01:03:31 GMT) X-Complaints-To: abuse@news.apple.com NNTP-Posting-Date: Sat, 4 Oct 2003 01:03:31 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030913 Thunderbird/0.3a X-Accept-Language: en-us, en In-Reply-To: Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!news.kjsl.com!news.spies.com!forum.apple.com!news.apple.com!not-for-mail Xref: archiver1.google.com comp.software-eng:37 comp.programming:329 comp.lang.c++:707 comp.lang.ada:188 Date: 2003-10-03T18:03:25-07:00 List-Id: Wes Groleau wrote: > Peter Ammon wrote: > >> Agreed! I wish that more languages allowed hyphen use in identifiers. >> Dylan is the only one I can think of off the top of my head. > > > Does Dylan prevent having variables named Max, > Max-Iterations, & Iterations in the same scope? > No. Whitespace is more important in Dylan than in a language like C. Max-Iterations <-- variable name Max - Iterations <-- Max minus Iterations Other strange characters can appear in Dylan variable names. This allows for some nice naming conventions without the nastiness of something like Hungarian Notation. See http://www.gwydiondylan.org/gdref/tutorial/naming-conventions.html -Peter