3 ms·
> Rather than saying that a tab character places the text that follows it at the next Nth column, we should say that a tab character is a delimiter between tabl
by TeMPOraL 3y ago
> Rather than saying that a tab character places the text that follows it at the next Nth column, we should say that a tab character is a delimiter between table cells in a manner more reminiscent of how they're used in tab separated value (TSV) files. When used for text or code I call this format "Tab Separated Columns". Seen in this light, we can see that space aligned files are analogous to the old fixed width data files, and we all know the advantages that delimited files have over those.
If we're lifting abstraction one level up - from dumb plaintext to delimited records - maybe it's time to revive the ASCII control characters that were specifically meant for this? I'm talking about ASCII 28 to ASCII 31 - file, group, unit and record separators.
- kragen 3y agomy variant proposal in https://news.ycombinator.com/item?id=37938960 https://news.ycombinator.com/item?id=37938960 provides for arbitrarily deeply nested structures instead of a pick-like static four levels, and does so while maintaining compatibility with historical definitions of "whitespace" for the purpose of things like parsing c; i'm curious to hear what you think, though i know you're not such a fan of backwards compatibility