Gerald Bauer
2018-10-30 17:55:07 UTC
Hello,
I've written a new (and sevenths) episode on why the CSV standard
library is broken (and how to fix it).
The heart of the CSV standard library is the String#split kludge.
What else is dangerously simplistic and naive?
Let's have a look at the built-in type conversion [1].
Will it surprise you? Yes, it is broken, broken, broken. How? Why?
Questions and comments welcome. Cheers. Prost.
PS: If you want to see other (more) CSV formats / dialects pre-configured and
supported "out-of-the-box" in the new csv reader, please tell.
[1] https://github.com/csvreader/docs/blob/master/csv-types.md
Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
I've written a new (and sevenths) episode on why the CSV standard
library is broken (and how to fix it).
The heart of the CSV standard library is the String#split kludge.
What else is dangerously simplistic and naive?
Let's have a look at the built-in type conversion [1].
Will it surprise you? Yes, it is broken, broken, broken. How? Why?
Questions and comments welcome. Cheers. Prost.
PS: If you want to see other (more) CSV formats / dialects pre-configured and
supported "out-of-the-box" in the new csv reader, please tell.
[1] https://github.com/csvreader/docs/blob/master/csv-types.md
Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>