Re:So you want to write your own CSV code (2014)
by nojito on Friday May 15, 2020 @07:24AM
(#23190895)
So is tsv, but for some reason csv is more popular despite being the worst character to use.
[ Parent
| on HN ]
Re:So you want to write your own CSV code (2014)
by hrktb on Friday May 15, 2020 @07:33AM
(#23190953)
For a lot of people, meaningful space is a hard concept to
understand.
It's made worse by the number of applications where they will see spaces reformatted willy nilly (for instance web forms eating their line breaks.
From there explaining there are spaces and tabs, and that both can look the same on screen but they are different is just asking for trouble outside of our circles.
Re:So you want to write your own CSV code (2014)
by mgkimsal on Friday May 15, 2020 @09:04AM
(#23191677)
> is just asking for trouble outside of our circles
it's asking for trouble in our circles too. Imagine getting a tab-sep file, opening it up in an editor and having it automatically convert to 4 spaces "because", then sending it back without checking something that doesn't look wrong.
Re:So you want to write your own CSV code (2014)
by SAI_Peregrinus on Friday May 15, 2020 @11:06AM
(#23193005)
Or an input/editor where the `tab` key moves your focus from the text field to the next button. Like Slack. You can't just hit `tab` in Slack when typing a code snippet for something that needs them like a Makefile.
Re:So you want to write your own CSV code (2014)
by JamesSwift on Friday May 15, 2020 @10:45AM
(#23192758)
What is human readable about a tab?
Re:So you want to write your own CSV code (2014)
by nojito on Friday May 15, 2020 @10:48AM
(#23192804)
Open up a csv in notepad vs opening up a tsv.
One actually looks like a table the other is a garbled mess.
Re:So you want to write your own CSV code (2014)
by JamesSwift on Friday May 15, 2020 @11:20AM
(#23193174)
I think we have different definitions of human readable then. To me, human readable means if I print it in a printer, it loses no fidelity. What you describe is what I would call machine-readable. It is able to be imported into a program. The same that a binary separator would also let it be imported.