Outliner Software
Home Forum Archives Search Login Register


 

Outliner Software Forum RSS Feed Forum Posts Feed

Subscribe by Email

CRIMP Defined

 

Tip Jar

What about creating a hierarchical CSV standard?

View this topic | Back to topic list

Posted by Andy Brice
Jul 21, 2024 at 08:06 PM

 

Speaking as a software developer who has written CSV parsers, CSV is a farly horrible format, for all sorts of reasons, including:

-loosely defined standard (e.g. doesn’t specify text encoding)
-difficult to parse multi threaded due to ‘escaping’
-a single wrongly placed quote can corrupt everything afterwards
-no provision for comments or meta data

It has also been poorly implemented in many apps.

It’s one saving grace is that you can easily edit it with a standard text editor.

It is pretty easy to define hierarchical relations in any tabular format, including CSV. Just have a unique ID for each row and use to reference child and/or parent rows. Whichever is more convenient. I don’t see any real need for a standard.

See also:

https://successfulsoftware.net/2022/04/30/why-isnt-there-a-decent-file-format-for-tabular-data/

—

Andy Brice
https://www.easydatatransform.com
https://www.hyperplan.com

 


© 2006-2025 Pixicom - Some Rights Reserved. | Tip Jar