Generics Amanuensis?

R

Roedy Green

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.
 
R

Roedy Green


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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Date Formats 1
Did the sort do anything? 12
burn files to DVD with Java 2
comp.lang.java.gui FAQ 0
comp.lang.java.gui FAQ 0

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top