From: "David Taylor" <dtaylor@iquest.com>
Subject: Re: Ada Java question => clarification
Date: 1997/03/01
Date: 1997-03-01T00:00:00+00:00 [thread overview]
Message-ID: <dtaylor-0103972141350001@usr1-d34.iquest.com> (raw)
In-Reply-To: 33174B1A.5353@watson.ibm.com
In article <33174B1A.5353@watson.ibm.com>, "Norman H. Cohen"
<ncohen@watson.ibm.com> wrote:
>Kendal Van Dyke wrote:
>
>> Ok, after changing the case statement to an if statement, I STILL had to
>> use the full name (java.awt.event.[up, down, left, right, etc]) in order
<snip>
>What you need is a with clause for java.awt.event and a use clause for
>java.awt. A use clause for java.awt.event allows you to abbreviate
<snip>
>--
>Norman H. Cohen
>mailto:ncohen@watson.ibm.com
>http://www.research.ibm.com/people/n/ncohen
I would like to make a case here for avoiding the "use" except in those
special locations where it otherwise obscures the logic (e.g.: evaluating a
complicated math expression). Even there, the "use" can be restriced to the
local block.
Speaking as one who has spent a lot of time modifying existing code, the
"use" can really confuse the issue. Surely, more keystrokes cannot be that
big of a deal.
Just my 2 cents worth.
dave taylor
next prev parent reply other threads:[~1997-03-01 0:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-26 0:00 Ada Java question Kendal Van Dyke
1997-02-27 0:00 ` Tucker Taft
1997-02-28 0:00 ` Ada Java question => clarification Kendal Van Dyke
1997-02-28 0:00 ` Tucker Taft
1997-02-28 0:00 ` Brad Balfour
1997-02-28 0:00 ` Kendal Van Dyke
1997-02-28 0:00 ` Norman H. Cohen
1997-03-01 0:00 ` David Taylor [this message]
1997-03-02 0:00 ` Robert Dewar
1997-03-06 0:00 ` David Taylor
1997-03-08 0:00 ` tagged type auto-"Use", was " Tom Moran
1997-03-10 0:00 ` Dennis Reimer
1997-03-09 0:00 ` Robert Dewar
1997-03-09 0:00 ` Larry Kilgallen
1997-03-09 0:00 ` Robert Dewar
1997-03-15 0:00 ` Matthew Heaney
1997-03-01 0:00 ` Fergus Henderson
1997-02-28 0:00 ` Ada Java question => oops!! Kendal Van Dyke
1997-03-02 0:00 ` Ada Java question => clarification Robert Dewar
1997-03-03 0:00 ` Brad Balfour
1997-03-05 0:00 ` Robert Dewar
1997-03-05 0:00 ` Brad Balfour
1997-02-28 0:00 ` Ada Java question Tom Halliley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox