Yep, and having been there, I’m reporting: it’s not nearly as bad as this post makes it sound.
I’ve written web apps, too, and (for example) CSS is 100 times worse. Nobody is suggesting every website should use only browser default styles, though.
> I think the better question is, how do you handle malformed CSV?
What does “malformed” mean? The good/bad thing about CSV is that virtually every text file is valid! The only malformation I can think of is an open quote with no matching close quote (so the entire rest of the document is one value). My implementation is streaming, so there’s no great way to flag it: any future data could have the other quote!
We show the data as it’s parsed, so it should be obvious to the user what is going on, and where.
There are areas of computing that are too complex. I’m usually the first to complain about such things. I really don’t think CSV parsing is one of them.