Re: CSV changes

From: "NAKAMURA, Hiroshi" <nahi@...>
Date: 2004-04-13 02:53:55 UTC
List: ruby-core #2778
Hi,

> From: "Dave Thomas" <dave@pragprog.com>
> Sent: Monday, April 12, 2004 11:21 PM

>    "While I was documenting it recently, I have to admit I didn't 
> understand why the cells couldn't simply be just plain old Strings..."

These requirements are from my old still running application.

* I hope NULL(,,,) and empty string("","","","") are distinguishable.
* I hope NULL != NULL like SQL.

Using only aString cannot satisfy the former.
Using nil and aString cannot satisfy the latter.

But I may change 1.9's behavior.  No one except me will use
Cell for data handling(checking aCell == aCell).  Most of the user will be
satisfied with nil + aString.  I should rewrite the above app. :-)

# Above commit is /src/lib/csv, not /src/ruby/lib/csv.
# I still am thinking we should separate buldled-lib developing
# repository and ruby's.

Regards,
// NaHi

In This Thread