digitalmars.D - std.csv: Vote in this thread
- dsimcha (15/15) Nov 12 2011 We're going to do something a little unusual with the std.csv voting.
- Robert Jacques (2/17) Nov 12 2011 Vote for version 2.
- JimB (2/4) Nov 12 2011 Voting is a crime against humanity. Voting is evil.
- Jonathan M Davis (10/10) Nov 12 2011 1. Yes.
- JimB (2/3) Nov 12 2011 Sheeple response.
- Jonas Drewsen (4/9) Nov 18 2011 1, yes
- dsimcha (11/22) Nov 18 2011 Thank you to Jonathan Davis for reminding people to vote. I did forget
- Alix Pexton (6/6) Nov 19 2011 There are other features that I think are needed in a complete CSV
- Nick Sabalausky (15/18) Nov 19 2011 No, not yet.
We're going to do something a little unusual with the std.csv voting. Please cast **two** votes: 1. Whether std.csv should be included in Phobos. 2. Whether version one or version two (see below) should be included **if** std.csv is included at all. The difference between versions 1 and 2 of std.csv is that version 1 keeps the Record and Records structs in the documentation, whereas version 2 hides them completely in the style of std.algorithm. This is a detail that there was substantial disagreement about during the review. Code: https://github.com/he-the-great/phobos/blob/csv/std/csv.d Docs (version 1): http://nascent.freeshell.org/programming/D/doc/phobos/std_csv.html Docs (version 2): http://nascent.freeshell.org/programming/D/doc/phobos/std_csv2.html
Nov 12 2011
On Sat, 12 Nov 2011 14:27:22 -0500, dsimcha <dsimcha yahoo.com> wrote:We're going to do something a little unusual with the std.csv voting. Please cast **two** votes: 1. Whether std.csv should be included in Phobos. 2. Whether version one or version two (see below) should be included **if** std.csv is included at all. The difference between versions 1 and 2 of std.csv is that version 1 keeps the Record and Records structs in the documentation, whereas version 2 hides them completely in the style of std.algorithm. This is a detail that there was substantial disagreement about during the review. Code: https://github.com/he-the-great/phobos/blob/csv/std/csv.d Docs (version 1): http://nascent.freeshell.org/programming/D/doc/phobos/std_csv.html Docs (version 2): http://nascent.freeshell.org/programming/D/doc/phobos/std_csv2.htmlVote for version 2.
Nov 12 2011
dsimcha wrote:We're going to do something a little unusual with the std.csv voting. Please cast **two** votes:Voting is a crime against humanity. Voting is evil.
Nov 12 2011
1. Yes. However, since the documentation for csvrReader seems to have been written with the idea that there is a separate set of documentation for Records and Record, csvReader's documentation could use some fleshing out to make sure tha the necessary details are there. Knowing that the return type is an input range covers most of it, but the various possible return types of its front property should be explained, and it shouldn't mention the name Records or Record, since they wouldn't be in the documentation anymore. - Jonathan M Davis
Nov 12 2011
On 12/11/11 20.27, dsimcha wrote:We're going to do something a little unusual with the std.csv voting. Please cast **two** votes: 1. Whether std.csv should be included in Phobos. 2. Whether version one or version two (see below) should be included **if** std.csv is included at all.1, yes -Jonas
Nov 18 2011
On 11/18/2011 7:02 AM, Jonas Drewsen wrote:On 12/11/11 20.27, dsimcha wrote:Thank you to Jonathan Davis for reminding people to vote. I did forget to specify, but voting ends at the end of Saturday. (I'll leave the time zone deliberately ambiguous because, realistically, I'm not going to stare at the clock and reject any vote that's a tiny bit past the deadline.) Anyhow, my vote is: 1. yes overused idiom and can be frustrating when you need to use some complicated typeof() expression to declare it as a member of a class/struct.We're going to do something a little unusual with the std.csv voting. Please cast **two** votes: 1. Whether std.csv should be included in Phobos. 2. Whether version one or version two (see below) should be included **if** std.csv is included at all.1, yes -Jonas
Nov 18 2011
There are other features that I think are needed in a complete CSV module, but reading is the most troublesome and this offering seems to do a good job of that! 1: Yes! 2: Indifferent (not had time to contemplate the issue.) A...
Nov 19 2011
"dsimcha" <dsimcha yahoo.com> wrote in message news:j9mhc9$2ogp$1 digitalmars.com...1. Whether std.csv should be included in Phobos.No, not yet. I hate to be the "no" guy, especially this late in the game, but I think the exceptions need some attention. Specifically, I think we should consider that IncompleteCellException and HeaderMismatchException should inherit from CSVException. If the reason they aren't is because row and col aren't always available (I don't know whether that's the case or not), then maybe row and col should be somehow nullable (maybe as a mini class). I'm also concerned about "Record" and "Records", which people won't usually use directly, cluttering the importer's namespace and causing unnecessary conflicts.2. Whether version one or version two (see below) should be included **if** std.csv is included at all.Version 1. Documenting the ranges in, say, std.algorithm would be a bad idea, but for std.csv I think it makes sense.
Nov 19 2011