Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #2003 > unrolled thread

Why so many imports instead of java.io.* ?

Started byTimothy Madden <terminatorul@gmail.com>
First post2012-08-14 15:23 +0300
Last post2012-08-14 17:46 -0700
Articles 5 on this page of 25 — 8 participants

Back to article view | Back to comp.lang.java.help


Contents

  Why so many imports instead of java.io.* ? Timothy Madden <terminatorul@gmail.com> - 2012-08-14 15:23 +0300
    Re: Why so many imports instead of java.io.* ? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-14 08:45 -0400
      Re: Why so many imports instead of java.io.* ? Patricia Shanahan <pats@acm.org> - 2012-08-14 06:16 -0700
        Re: Why so many imports instead of java.io.* ? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-14 10:52 -0400
    Re: Why so many imports instead of java.io.* ? Jeff Higgins <jeff@invalid.invalid> - 2012-08-14 09:05 -0400
    Re: Why so many imports instead of java.io.* ? Lew <lewbloch@gmail.com> - 2012-08-14 16:31 -0700
      Re: Why so many imports instead of java.io.* ? Timothy Madden <terminatorul@gmail.com> - 2012-08-16 16:39 +0300
        Re: Why so many imports instead of java.io.* ? Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-08-16 11:51 -0400
          Re: Why so many imports instead of java.io.* ? Timothy Madden <terminatorul@gmail.com> - 2012-08-17 15:08 +0300
            Re: Why so many imports instead of java.io.* ? Lew <lewbloch@gmail.com> - 2012-08-17 11:26 -0700
              Re: Why so many imports instead of java.io.* ? Gene Wirchenko <genew@ocis.net> - 2012-08-17 12:53 -0700
                Re: Why so many imports instead of java.io.* ? Lew <lewbloch@gmail.com> - 2012-08-17 12:58 -0700
                  Re: Why so many imports instead of java.io.* ? Gene Wirchenko <genew@ocis.net> - 2012-08-17 13:27 -0700
                    Re: Why so many imports instead of java.io.* ? Timothy Madden <terminatorul@gmail.com> - 2012-08-20 19:09 +0300
                      Re: Why so many imports instead of java.io.* ? Patricia Shanahan <pats@acm.org> - 2012-08-20 09:40 -0700
                        Re: Why so many imports instead of java.io.* ? Timothy Madden <terminatorul@gmail.com> - 2012-08-21 15:03 +0300
                          Re: Why so many imports instead of java.io.* ? Gene Wirchenko <genew@ocis.net> - 2012-08-21 09:05 -0700
                          Re: Why so many imports instead of java.io.* ? Patricia Shanahan <pats@acm.org> - 2012-08-21 09:48 -0700
                            Re: Why so many imports instead of java.io.* ? Lew <lewbloch@gmail.com> - 2012-08-21 11:51 -0700
                  Re: Why so many imports instead of java.io.* ? Patricia Shanahan <pats@acm.org> - 2012-08-17 14:39 -0700
                    Re: Why so many imports instead of java.io.* ? Lew <lewbloch@gmail.com> - 2012-08-17 15:39 -0700
                      Re: Why so many imports instead of java.io.* ? Gene Wirchenko <genew@ocis.net> - 2012-08-17 15:57 -0700
                        Re: Why so many imports instead of java.io.* ? Lew <noone@lewscanon.com> - 2012-08-18 11:03 -0700
                          Re: Why so many imports instead of java.io.* ? Gene Wirchenko <genew@ocis.net> - 2012-08-19 18:07 -0700
    Re: Why so many imports instead of java.io.* ? Roedy Green <see_website@mindprod.com.invalid> - 2012-08-14 17:46 -0700

Page 2 of 2 — ← Prev page 1 [2]


#2026

FromLew <lewbloch@gmail.com>
Date2012-08-17 15:39 -0700
Message-ID<d3b0af8c-1c16-4b71-adff-2c6f2875ea89@googlegroups.com>
In reply to#2025
 Patricia Shanahan wrote:
> Lew wrote:
>> Gene Wirchenko wrote:
>>>       But you save it for the formatting and variable naming
> >> conventions.
> 
>> I don't understand your remark. I can't recall having complained against
>> the Java code conventions. What are you attempting to communicate there,
>> Gene?
> 
> Your attempts to encourage universal use of one set of Java coding
> conventions are sometimes difficult to distinguish from religiously
> fervent proselytizing.

I speak from pragmatism and engineering principles, not religious fervor.

Gene calls me "disingenuous", yet that applies better to him, who argues 
so vehemently against coding standards. What better way for him to 
get his knife twist in that to call me names in a different thread?

It's a reality of life that Java, with all its faults, has coding standards, 
with all their faults. Every Java shop uses a variation of those standards 
as their in-house standards, assuming they have any. The entire 
community uses these standards. Reminding people of that is not 
religious proselytizing but simple good sense.

Trolling this group by calling me names for suggesting that doesn't 
invalidate the point.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#2027

FromGene Wirchenko <genew@ocis.net>
Date2012-08-17 15:57 -0700
Message-ID<rlit28druccrdl3ebep30135uh81pdc5ku@4ax.com>
In reply to#2026
On Fri, 17 Aug 2012 15:39:29 -0700 (PDT), Lew <lewbloch@gmail.com>
wrote:

> Patricia Shanahan wrote:
>> Lew wrote:
>>> Gene Wirchenko wrote:
>>>>       But you save it for the formatting and variable naming
>> >> conventions.
>> 
>>> I don't understand your remark. I can't recall having complained against
>>> the Java code conventions. What are you attempting to communicate there,
>>> Gene?
>> 
>> Your attempts to encourage universal use of one set of Java coding
>> conventions are sometimes difficult to distinguish from religiously
>> fervent proselytizing.
>
>I speak from pragmatism and engineering principles, not religious fervor.

     You speak from both.

>Gene calls me "disingenuous", yet that applies better to him, who argues 
>so vehemently against coding standards. What better way for him to 
>get his knife twist in that to call me names in a different thread?

     This is a wonderful example of your fanaticism.

     I posted reference to the fanaticism.  You affect not to know
what is being referred to.  Now that the subject has been mentioned by
another, you sure remember fast.

     Maybe, if you were more honest and less fanatical about it, you
could get my argument right.  I do not argue against coding standards.
I argue against being pilloried for using a different convention. What
better way for you to get yet another of your snipes in by misstating
my case yet again?

>It's a reality of life that Java, with all its faults, has coding standards, 
>with all their faults. Every Java shop uses a variation of those standards 
>as their in-house standards, assuming they have any. The entire 
>community uses these standards. Reminding people of that is not 
>religious proselytizing but simple good sense.

     Every one of them?  Without exception?  Where do you get your
statistics from?

     Hounding people for using something else is where the fanaticism
comes in.

>Trolling this group by calling me names for suggesting that doesn't 
>invalidate the point.

     What name have I called you (besides Lew)?

     I have written of properties that you have.  You ought to be able
to tell the difference between a name and a property as both concepts
are used in Java (among other programming languages).

Sincerely,

Gene Wirchenko

[toc] | [prev] | [next] | [standalone]


#2030

FromLew <noone@lewscanon.com>
Date2012-08-18 11:03 -0700
Message-ID<k0oldj$aib$1@news.albasani.net>
In reply to#2027
On 08/17/2012 03:57 PM, Gene Wirchenko wrote:
 >

Plonk.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

[toc] | [prev] | [next] | [standalone]


#2034

FromGene Wirchenko <genew@ocis.net>
Date2012-08-19 18:07 -0700
Message-ID<1d33381tra0poddfgaftef2gl0bh8fg6g8@4ax.com>
In reply to#2030
On Sat, 18 Aug 2012 11:03:44 -0700, Lew <noone@lewscanon.com> wrote:

>On 08/17/2012 03:57 PM, Gene Wirchenko wrote:
> >
>
>Plonk.

     I would appreciate it if someone would tell Lew that I will
treasure this plonk.  It is about time.

Sincerely,

Gene Wirchenko

[toc] | [prev] | [next] | [standalone]


#2011

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-08-14 17:46 -0700
Message-ID<27sl28lv2i9o3m5i3im30b2p6efcf9hgb8@4ax.com>
In reply to#2003
On Tue, 14 Aug 2012 15:23:02 +0300, Timothy Madden
<terminatorul@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>Which, by the way, also needs no maintenance in case a new class or
>exception is needed in the file at a later time.

My IDE, IntelliJ lets me configure how many classes it should take to
collapse to *.

It pretty well handles inserting them automatically.  It is nice to
have the list spelled out.  You can tell quite a bit about what a
class does just by looking at the import list.

* can get you in trouble e.g. List which has two completely different
meanings.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
A new scientific truth does not triumph by convincing its opponents and making them see the light,
but rather because its opponents eventually die, and a new generation grows up that is familiar with it.
~ Max Planck 1858-04-23 1947-10-04 

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.java.help


csiph-web