Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #9732
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Generics Amanuensis? |
| Date | 2011-11-07 02:42 -0800 |
| Organization | Canadian Mind Products |
| Message-ID | <m6dfb79b627vc0prk2mq0ok90ipbcbe9kf@4ax.com> (permalink) |
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.
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
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
csiph-web