Hacker News new | ask | show | jobs
by fellowniusmonk 1847 days ago
I always try to use ascii char 31 (unit seperator) if I'm computationally generating csvs for shunting around data internally.
1 comments

it's crazy how our progenitors had the wisdom and foresight to reserve FOUR distinct delimiters for us 28-31 file/group/record/unit but webdevs are just nope we'll go with commas and crlfs and when that doesn't work we'll JSON
Not sure I've seen a classic Unix tool utilize \x28-\x31 by default. Ignoring standards in ascii was I'm vogue long before webdevs.
JSON is probably popular because JS was popular and it’s a subset. And being a programming language that’s is typed by humans, so those special characters would not have naturally featured.

For data, if we are going to use reserved characters, maybe we just use protobuf and let the serialisation code take the strain.

ah, yes, CSVs. The format famously preferred and lauded by the web development community