A few notes on choosing between Go and D for a quick project

Panke via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 02:25:56 PDT 2015


> How do you keep it around if you cant declare a member to hold 
> it?
>
> It's all well and good explaining the reason for them but it 
> doesnt void the fact that they are a PITA if you say want to 
> use cvsReader to parse some records and keep the results as a 
> class member.

I don't think csvReader supports your point. The input range 
returned is not for permanent storage, just store the struct if 
you've used csvReadder!SomeStruct or store cells individually as 
Contents if you used csvReader!Contents. (by default Contents is 
string).

I think it's a very good api.


More information about the Digitalmars-d mailing list