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

Almighty Bob via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 01:46:51 PDT 2015


On Tuesday, 17 March 2015 at 07:15:17 UTC, Walter Bright wrote:
> On 3/16/2015 4:29 AM, ninja wrote:
>> This. Figuring out the return types in the examples was a 
>> daily struggle in the
>> first few weeks.
>
> When Voldemort types are returned, they must be by auto. The 
> user isn't supposed to know what the return type is, just how 
> to use it.

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.


More information about the Digitalmars-d mailing list