I agree with Emmanuel. We don't want CSVRecord to devolve into a god class that tries to be everything to everybody. "Do only one thing, and do it really well" is the design pattern I prefer.

I created a patch for the design I proposed a few days ago. Please consider using it.

https://issues.apache.org/jira/browse/CSV-104


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 1/22/2014 8:01 AM, Emmanuel Bourg wrote:
Le 21/01/2014 15:08, Gary Gregory a écrit :

This kind of complication is unnecessary IMO, why not just have the record
implement Map?

Because a record is neither a List nor a Map.

A map decorator isn't that complicated, and the work has already been
done in [configuration]. It would be trivial to adapt the code to [csv].

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to