RubyFlow The Ruby and Rails community linklog

Why the CSV standard library is broken (Part III) - CSV Record as Array? Hash? etc.

Hello, I’ve written a new (and third) episode on why the CSV standard library is broken, broken, broken (and how to fix it). Let’s have a look at how to handle csv records - How about returning an array? hash? struct? row? etc. Or how about adding new “low-level” parsers for supporting more dialects and formats or for faster code with c-extensions? 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. PPS: Why care about CSV? Did you know - data is the new gold :-) and CSV is the world’s most popular (No. 1) data format.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in