Review of Jesse Phillips's CSV Parser

Walter Bright newshound2 at digitalmars.com
Sun Oct 30 11:08:27 PDT 2011


On 10/30/2011 10:02 AM, Jesse Phillips wrote:
> Thank you for the response, only one more follow-up question.
>
> Records
> Record
>
> Don't these look easy to confuse? And funny if we didn't have type
> inference.
>
> Records records = csvText(str);
>
> foreach(Record record; records) ...
>
> Anyone want to complain about this suggestion? Record is private and can
> only be obtained from Records (is that appropriate phrasing?).

I started using that convention in dmd, i.e. Objects is an array of Object, and 
after I got used to it I like it fine.


More information about the Digitalmars-d mailing list