[Python-ideas] csv.DictReader could handle headers more intelligently.
Ethan Furman
ethan at stoneleaf.us
Fri Jan 25 17:30:25 CET 2013
On 01/25/2013 03:00 AM, Mark Hackett wrote:
> On Thursday 24 Jan 2013, Steven D'Aprano wrote:
>> - it is less obvious: how does the caller decide that there are too many
>> field names?
>>
>
> Additionally, the user of the library now has to read much more about the
> library (either code or documentation, which has to track the code too), to
> decide what it is going to do.
>
> If you have to read the code, then it's not really OO, is it. It's light grey,
> not black box.
If you have to read the code, the documentation needs improvement.
~Ethan~
More information about the Python-ideas
mailing list