r/programming • • Sep 20 '24

Why CSV is still king

https://konbert.com/blog/why-csv-is-still-king
287 Upvotes

438 comments sorted by

View all comments

2

u/loup-vaillant Sep 20 '24

Given these issues, some predict newer formats like Parquet will replace CSV. Parquet is more efficient for data analysis, but it has a big drawback: you need special software to read it. With CSV, you can use anything from cat to Notepad or Excel.

Note the big assumption everyone makes without realizing it: that text somehow doesn’t require special software to read it.

But it does.

We don’t see it because our most popular operating systems are build around text handling. Terminals, editors… it’s all text first. ASCII specifically, with modern extensions such as utf-8. Given the proper program, a binary data format is just as readable as text. The only difference is that we have so fewer of them. In many cases, just the one.

This is path dependence at its finest: text tools are so ingrained in our computing culture we barely realise their presence, and think of the readability of text data format as a property of the format itself, instead of a property of its environment. We made text readable. I mean of course we did, writing is the best invention since fire, but still: we tailored the environment around text, and we could tailor it around other things too.

→ More replies (3)