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


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

Re: Editable issues

From Arved Sandstrom <asandstrom2@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Editable issues
References (6 earlier) <b3f4eb85-3df6-4bef-9b57-be60a766eb89@googlegroups.com> <6mnkg8554ln89q44abueqf1lgeqscbvjqj@4ax.com> <19t3s1do2anmx.p8xfdbu4cqdb.dlg@40tude.net> <510a961b$0$283$14726298@news.sunsite.dk> <c143vora79et.o087oi6ia9w4$.dlg@40tude.net>
Message-ID <ZtLOs.52890$_U.32237@newsfe20.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2013-02-01 04:59 -0400

Show all headers | View raw


On 01/31/2013 08:54 PM, Peter Duniho wrote:
> On Thu, 31 Jan 2013 11:04:38 -0500, Arne Vajhøj wrote:
>
>> I don't like the code generated by VS.
>
> I don't have to like it, as long as I don't have to see it or mess with it.
>
> And with the VS Designer, I don't have to. Even when customizing the UI to
> suit my needs, nothing about the Designer-generated code has to be touched.
>
>> But there is one big advantage there. The partial class concept allows
>> to nicely separate the generated stuff from the manual written stuff.
>
> But even prior to partial classes, the IDE used code regions to collapse
> the Designer-generated code. Either way, it doesn't really matter what's in
> the generated code, as long as it does what it's supposed to and the
> programmer doesn't have to mess with it directly (whether to customize the
> GUI behavior, or for some other reason).
>
> And in VS, that's how it is.
>
> It's true that without the partial class feature, a Java-oriented GUI
> designer couldn't be quite as seamless as what one finds in the .NET
> toolset. But I think someone with sufficient motivation could in fact write
> a GUI editor that works practically as well, even without that.
>
> They just don't seem to have yet. And IMHO this is one reason why at least
> some people eschew using Java for desktop apps. It's certainly a
> significant factor in why I stopped bothering and went back to using .NET
> for my day-to-day ad hoc projects.
>
> I can't prove that I'm typical. But it's likely I'm not entirely unique
> either. :)
>
> Pete

+1. That's how I see it, all of it, except better phrased. I also don't 
much care about the VS-generated code, although I find it tolerable at 
worst, pretty decent usually. Fact is, as Pete points out, it don't 
matter - I can concentrate on interesting stuff and if I change layout 
later VS won't trample it.

I also cannot see why someone couldn't write decent code generators for 
AWT or now Swing, or JSF. As I pointed out previously, people have 
accomplished just this, in Java and for Java/XML source, for process 
designers and SOA type tools, which is considerably more complicated. So 
I don't know why this is so bloody difficult.

Like I mentioned to Arne, I already have my workaround, because I can't 
stand to waste my time writing JSF boilerplate. Thankfully I don't have 
to write Swing - I've managed to stick to .NET for desktop GUIs.

AHS

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


Thread

Editable issues K <kalezwe@gmail.com> - 2013-01-28 21:19 -0800
  Re: Editable issues Mikhail Vladimirov <vladimirow@mail.ru> - 2013-01-28 22:21 -0800
    Re: Editable issues Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2013-01-28 23:17 -0800
      Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-01-29 06:27 -0400
        Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-01-29 22:02 -0500
          Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-01-30 07:38 -0400
            Re: Editable issues Lew <lewbloch@gmail.com> - 2013-01-30 08:32 -0800
              Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-01-30 19:34 -0400
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 20:04 -0500
                Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-01-31 06:21 -0400
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-01-31 11:10 -0500
              Re: Editable issues Roedy Green <see_website@mindprod.com.invalid> - 2013-01-31 04:15 -0800
                Re: Editable issues Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2013-01-31 07:26 -0800
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-01-31 11:04 -0500
                Re: Editable issues Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2013-01-31 16:54 -0800
                Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-01 04:59 -0400
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-02-01 20:08 -0500
                Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-01 21:54 -0400
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-02-02 12:21 -0500
                Re: Editable issues Arved Sandstrom <asandstrom2@eastlink.ca> - 2013-02-02 15:37 -0400
                Re: Editable issues Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2013-02-01 18:12 -0800
                Re: Editable issues Roedy Green <see_website@mindprod.com.invalid> - 2013-02-01 20:33 -0800
                Re: Editable issues Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2013-02-01 23:39 -0800
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-02-02 12:16 -0500
                Re: Editable issues Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2013-02-02 09:59 -0800
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-02-02 21:05 -0500
                Re: Editable issues Gene Wirchenko <genew@telus.net> - 2013-02-04 14:18 -0800
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-02-04 18:23 -0500
                Re: Editable issues Gene Wirchenko <genew@telus.net> - 2013-02-04 14:11 -0800
                Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-02-04 18:17 -0500
                Re: Editable issues Roedy Green <see_website@mindprod.com.invalid> - 2013-02-01 05:05 -0800
            Re: Editable issues Arne Vajhøj <arne@vajhoej.dk> - 2013-01-30 20:03 -0500
  Re: Editable issues Roedy Green <see_website@mindprod.com.invalid> - 2013-01-29 02:38 -0800

csiph-web