3 ms·
This is good advice. It's the philosophy adopted by Papa Parse, http://papaparse.com http://papaparse.com - try to gracefully handle malformed CSV and report al
by mholt 12y ago
This is good advice. It's the philosophy adopted by Papa Parse, http://papaparse.com http://papaparse.com - try to gracefully handle malformed CSV and report all errors so they're obvious and actually helpful by telling the user where the syntax error is at.
Trying to compensate for bad CSV format will more likely cause headaches and confusion rather than clarity. It can also discourage the need for CSV writers to be rigorous about their output formatting.