4 ms·
See we wouldn't need this if everyone had standardized on TSV instead
by fao_ 3y ago
See we wouldn't need this if everyone had standardized on TSV instead
- JohnKemeny 3y agoI don't understand if this is meant as a joke or not. Do you mean that we then would have Tsvlens? Tabs don't automatically make columns aligned, nor do they eliminate the problem of quoting. I don't get it, but then again, I'm exceptionally dim-witted.
- bee_rider 3y agoBecause tabs are flexible space, you can render them really wide in most text editors, wide enough that all the columns line up. But it is a hacky solution!
- m2f2 3y agoTSV are far superior to CSV as the separator is a TAB and not commas, semicolons or other weird stuff depending on your locale. Same for single and double quotes. Only thing to be aware are tsv created by Excel with newlines embedded in text fields, which are a huge PITA for almost all parsers.
- fao_ 3y agoOther people have mentioned a lot of advantages but I'll go for another one: TSV is eminently more readable and parsable just off the bat. Empty space is always more readable than `,`, and `,` appears a lot in strings, tab appears a lot less.