Why the CSV standard library is broken (and how to fix it) Part VII or What's Your Type? Guess. Again. And Again. And Again. Guess What's a Schema For?

Gerald Bauer <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CAAxEZd_5e0_QN5UnwkNV_-J_dL34XiPpwGdt0iyqFC4Knw_52w@mail.gmail.com>
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:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.