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


Groups > comp.lang.java.programmer > #9732 > unrolled thread

Generics Amanuensis?

Started byRoedy Green <see_website@mindprod.com.invalid>
First post2011-11-07 02:42 -0800
Last post2011-11-08 06:51 -0800
Articles 3 — 2 participants

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


Contents

  Generics Amanuensis? Roedy Green <see_website@mindprod.com.invalid> - 2011-11-07 02:42 -0800
    Re: Generics Amanuensis? Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-11-07 21:10 -0500
      Re: Generics Amanuensis? Roedy Green <see_website@mindprod.com.invalid> - 2011-11-08 06:51 -0800

#9732 — Generics Amanuensis?

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-11-07 02:42 -0800
SubjectGenerics Amanuensis?
Message-ID<m6dfb79b627vc0prk2mq0ok90ipbcbe9kf@4ax.com>
I don't know if you have seen
http://mindprod.com/applet/comparatorcuttor.html

It is Applet where you fill in the blanks and it composes you a
complete custom Comparator or Comparable class including generics.

I was wondering about the theoretical possibility of something similar
to help idiots like me compose generics.

You would feed it a method signature, perhaps parsed out similar to
ComparatorCutter,  It would ask you some questions.
It would then compose the signature generified.

Is such a beast plausible?  If so, what sort of rules would it use?

Such a beast would also be a great learning tool.  If you can see
enough examples, the general principles seep in subliminally.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Capitalism has spurred the competition that makes CPUs faster and 
faster each year, but the focus on money makes software manufacturers 
do some peculiar things like deliberately leaving bugs and deficiencies
in the software so they can soak the customers for upgrades later.
Whether software is easy to use, or never loses data, when the company
has a near monopoly, is almost irrelevant to profits, and therefore 
ignored. The manufacturer focuses on cheap gimicks like dancing paper 
clips to dazzle naive first-time buyers. The needs of existing 
experienced users are almost irrelevant. I see software rental as the 
best remedy.

[toc] | [next] | [standalone]


#9761

FromEric Sosman <esosman@ieee-dot-org.invalid>
Date2011-11-07 21:10 -0500
Message-ID<j9a328$mr4$1@dont-email.me>
In reply to#9732
On 11/7/2011 5:42 AM, Roedy Green wrote:
> I don't know if you have seen
> http://mindprod.com/applet/comparatorcuttor.html
>[...]

     I haven't.  Nor has anyone else.  But it reminds me of
<http://mindprod.com/applet/404generator.html>; the resemblance
is uncanny.

-- 
Eric Sosman
esosman@ieee-dot-org.invalid

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


#9780

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-11-08 06:51 -0800
Message-ID<jfgib7dc9esgqcu81cube7alr0066g70ms@4ax.com>
In reply to#9761
On Mon, 07 Nov 2011 21:10:11 -0500, Eric Sosman
<esosman@ieee-dot-org.invalid> wrote, quoted or indirectly quoted
someone who said :

>> I don't know if you have seen
>> http://mindprod.com/applet/comparatorcuttor.html
>>[...]
>
>     I haven't.  Nor has anyone else.  But it reminds me of
><http://mindprod.com/applet/404generator.html>; the resemblance
>is uncanny.

oops. Try http://mindprod.com/applet/comparatorcutter.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Capitalism has spurred the competition that makes CPUs faster and 
faster each year, but the focus on money makes software manufacturers 
do some peculiar things like deliberately leaving bugs and deficiencies
in the software so they can soak the customers for upgrades later.
Whether software is easy to use, or never loses data, when the company
has a near monopoly, is almost irrelevant to profits, and therefore 
ignored. The manufacturer focuses on cheap gimicks like dancing paper 
clips to dazzle naive first-time buyers. The needs of existing 
experienced users are almost irrelevant. I see software rental as the 
best remedy.

[toc] | [prev] | [standalone]


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


csiph-web