News for hackers. Stuff that matters.
Re:A love letter to the CSV format by gthompson512 on Wednesday March 26, 2025 @04:49PM (#43487152)
> It's just that people tend to use specialized tools for encoding and decoding it instead of like ",".join(row) and row.split(",")

You really super can't just split on commas for csv. You need to handle the string encodings since records can have commas occur in a string, and you need to handle quoting since you need to know when a string ends and that string may have internal quote characters. For either format unless you know your data super well you need to use a library.

Re:A love letter to the CSV format by benwilber0 on Wednesday March 26, 2025 @05:17PM (#43487406)
Right, obviously.
Re:A love letter to the CSV format by pasc1878 on Thursday March 27, 2025 @07:21AM (#43492426)
Yes but people don't