Ary Manzana Wrote:

> I like the idea of reading a CSV into a struct, or treating all fields 
> as ints.
> 
> But, in my experience, CSVs are never perfect... because humans fill 
> them, and humans aren't perfect or don't know "Oh, of course I must fill 
> only numbers in this column, otherwise programs will explode".
> 
> So although it's a nice functionality, I think just returning everything 
> as strings is more than enough.

If you are dealing with incorrect data you must deal with it. If you expect 
everything to be an int, and it isn't what are you going to do? I should check 
how easy it is to recover from an error.

Reply via email to