Re: [codec] Thoughs on Generics

2013-04-29 Thread Jörg Schaible
Gary Gregory wrote: Thoughts on generics for Codec I tried an approach to add generics to Codec here: https://svn.apache.org/repos/asf/commons/proper/codec/branches/generics I consider this (now old) experiment part success and part failure and I would like to share it here. I will

Re: [codec] Thoughs on Generics

2013-04-29 Thread Emmanuel Bourg
Le 29/04/2013 04:21, Gary Gregory a écrit : Upon reflection, it seems overly restrictive (thanks to Java) to have one encoding or decoding type per class. What should be the alternative for a nice OO design? Just a wild guess, but would a builder pattern be suitable for codec? Maybe

Re: [codec] Thoughs on Generics

2013-04-29 Thread sebb
On 29 April 2013 03:21, Gary Gregory garydgreg...@gmail.com wrote: Thoughts on generics for Codec I tried an approach to add generics to Codec here: https://svn.apache.org/repos/asf/commons/proper/codec/branches/generics I consider this (now old) experiment part success and part failure and

[codec] Thoughs on Generics

2013-04-28 Thread Gary Gregory
Thoughts on generics for Codec I tried an approach to add generics to Codec here: https://svn.apache.org/repos/asf/commons/proper/codec/branches/generics I consider this (now old) experiment part success and part failure and I would like to share it here. I will call this experiment the ‘single