2 ms·
You can find a CSV parser that gets nearly all, if not all, the corner cases right for just about any language. The problem is that the data you will be given
by jrochkind1 13y ago
You can find a CSV parser that gets nearly all, if not all, the corner cases right for just about any language.
The problem is that the data you will be given to parse, by some third party agency, will quite likely not have been produced in such a way to get all the corner cases right.
As anyone who routinely has to parse such data is unpleasantly aware of. So now you've got to manually fix data, or have a parser that _doesn't_ get the corner cases 'right' but instead uses heuristics to try to get what was intended out of your particular idiosyncratic and illegal data.