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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2a687662f09731bb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!green.octanews.net!news-out.octanews.net!canary.octanews.net!208.49.83.146.MISMATCH!atl-c08.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!ALLTEL.NET-a2kHrUvQQWlmc!not-for-mail Date: Thu, 17 Nov 2005 08:22:10 -0600 From: "Marc A. Criley" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Quality and Style book discussion ("_Type" suffix) References: <1132227241.9036.44.camel@sonnenregen> <437c877e$1_1@glkas0286.greenlnk.net> In-Reply-To: <437c877e$1_1@glkas0286.greenlnk.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: e574a437c9216a13cf14108182 Xref: g2news1.google.com comp.lang.ada:6453 Date: 2005-11-17T08:22:10-06:00 List-Id: Martin Dowie wrote: > Brian May wrote: > >>It was decided that it helped if you were reminded what type the >>variable is whenever you go to use it. > > > And what happens when the type changes, say from an integer to a float - do > you _really_want to have to change everywhere it is used? What about legacy > products? According to Joel Spolsky of "Joel On software", some Microsoft technical writers misunderstood a key term in Charles Simonyi's paper describing what came to be known as "Hungarian Notation". Simonyi inappropriately used the word "type" when he meant "kind", and "type" was interpreted to mean "data type", like integer, float, and so on, when he'd intended it as a prefix to signal the _kind_ of thing, like "ix" for indices, "col" for variables containing column numbers, and "rw" for variables containing row numbers. Joel describes how Hungarian notation got wrecked in "Making Wrong Code Look Wrong" (http://www.joelonsoftware.com/articles/wrong.html). -- Marc A. Criley -- McKae Technologies -- www.mckae.com -- DTraq - XPath In Ada - XML EZ Out