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


Groups > comp.lang.java.programmer > #34545

Re: Moving code in Netbeans

Newsgroups comp.lang.java.programmer
Date 2016-06-07 13:43 -0700
References (4 earlier) <nj5dj7$nlp$3@gioia.aioe.org> <nj5f4u$6mh$1@dont-email.me> <nj5hq0$s34$1@gioia.aioe.org> <nj6c31$r33$1@dont-email.me> <nj6cjf$988$1@gioia.aioe.org>
Message-ID <ba6d2582-b49f-4be4-8679-27872a66d66b@googlegroups.com> (permalink)
Subject Re: Moving code in Netbeans
From Lew <lewbloch@gmail.com>

Show all headers | View raw


On Tuesday, June 7, 2016 at 4:53:34 AM UTC-7, Dave wrote:
> On 06/07/2016 07:44 AM, Eric Sosman wrote:
> > On 6/7/2016 12:16 AM, Dave wrote:
> >> On 06/06/2016 11:30 PM, Eric Sosman wrote:
> >>> [...]
> >>>      It's still not clear (to me, anyhow) whether you're talking about
> >>> code generated by NB or code you wrote yourself.  [...]
> >>>
> >> Actually, I was very clear.  I'm creating a GUI, which means that some
> >> of the code is auto-created and located where NB wants to place them. I
> >> would like to restructure the class so all properties are together, all
> >> events are together, etc.  How?
> >
> >      It may surprise you to learn that "GUI code" is not synonymous with
> > "auto-generated code," and that the first does not imply the second.
> >
> >      As for getting NB to auto-generate code that meets your stylistic
> > preferences -- well, if there's a way to do so I'm not aware of it.  But
> > it doesn't seem to me that anyone should care about the auto-generated
> > code's appearance; it seems akin to worrying about the appearance of the
> > JVM bytecode generated by the compiler.  Although auto-generated code is
> > Java, it is not "source:" the source is the stuff the GUI design tool
> > takes in, and the auto-generated Java is "object code."  Nobody is
> > expected to read it (except in extremis while chasing weird bugs), and
> > certainly nobody is expected to modify it.
> >
> >      So: Sorry, I don't know how to achieve what you want, nor even if
> > it can be achieved.  On the other hand, your desire seems daft.
> >
> 
> I have always wondered why Java programs seem to be not quite as good as 
> programs written in other languages.  I always thought it was Java. 
> After reading the responses to my question, I see the real reason Java 
> apps are second class.

Is that some sort of thinly-veiled insult at the people who attempted to help you?

If so, do you really feel that obstreperousness is a productive tactic?

First of all, "seem" means that *you* judge it thus. That is, the phenomenon is in your mind, not the Java code.

There is no evidence that Java code is written worse than in other languages. My personal experience and my experienced judgment of code that I've seen is that it is by and large the other way around - mediocre code in Java is better than mediocre code in other languages. However, the determinant is the programmer, not the language. 

There is no evidence that "Java apps [sic] are second class".

The proper response from you to those who helped you here would be, "Thank you!"

-- 
Lew

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Moving code in Netbeans Dave <dboland9@fastmail.fm> - 2016-06-06 16:03 -0400
  Moving code in Netbeans Lew <lewbloch@gmail.com> - 2016-06-06 13:47 -0700
    Re: Moving code in Netbeans Dave <dboland9@fastmail.fm> - 2016-06-06 18:24 -0400
      Re: Moving code in Netbeans Lew <lewbloch@gmail.com> - 2016-06-06 16:52 -0700
        Re: Moving code in Netbeans Dave <dboland9@fastmail.fm> - 2016-06-06 23:04 -0400
          Re: Moving code in Netbeans Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-06 23:30 -0400
            Re: Moving code in Netbeans Dave <dboland9@fastmail.fm> - 2016-06-07 00:16 -0400
              Re: Moving code in Netbeans Andreas Leitgeb <avl@logic.at> - 2016-06-07 06:53 +0000
              Re: Moving code in Netbeans Nigel Wade <nmw@ion.le.ac.uk> - 2016-06-07 09:26 +0100
              Re: Moving code in Netbeans Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-07 07:44 -0400
                Re: Moving code in Netbeans Dave <dboland9@fastmail.fm> - 2016-06-07 07:53 -0400
                Re: Moving code in Netbeans Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-07 08:24 -0400
                Re: Moving code in Netbeans Martin Gregorie <martin@address-in-sig.invalid> - 2016-06-07 13:22 +0000
                Re: Moving code in Netbeans Eric Douglas <e.d.programmer@gmail.com> - 2016-06-07 06:23 -0700
                Re: Moving code in Netbeans Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-07 10:10 -0400
                Re: Moving code in Netbeans Eric Douglas <e.d.programmer@gmail.com> - 2016-06-07 07:36 -0700
                Re: Moving code in Netbeans Arne Vajhøj <arne@vajhoej.dk> - 2016-06-07 20:23 -0400
                Re: Moving code in Netbeans Lew <lewbloch@gmail.com> - 2016-06-07 13:43 -0700
                Re: Moving code in Netbeans Arne Vajhøj <arne@vajhoej.dk> - 2016-06-07 20:30 -0400
                Re: Moving code in Netbeans Arne Vajhøj <arne@vajhoej.dk> - 2016-06-07 20:19 -0400
                Re: Moving code in Netbeans Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-06-07 20:31 -0400
                Re: Moving code in Netbeans Arne Vajhøj <arne@vajhoej.dk> - 2016-06-07 21:12 -0400
                Re: Moving code in Netbeans Eric Douglas <e.d.programmer@gmail.com> - 2016-06-08 06:41 -0700
                Re: Moving code in Netbeans Arne Vajhøj <arne@vajhoej.dk> - 2016-06-08 17:08 -0400
              Re: Moving code in Netbeans Lew <lewbloch@gmail.com> - 2016-06-07 13:39 -0700
                Re: Moving code in Netbeans Robin Koch <robin.koch@t-online.de> - 2016-06-07 23:29 +0200

csiph-web