extern(C++, ns)

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Jan 3 07:55:20 PST 2016


On 1/3/2016 6:45 AM, Jacob Carlborg wrote:
> On 2016-01-03 08:04, Walter Bright wrote:
>
>> It's a bug if circular imports do not work. But circular imports are not
>> allowed in Go, and I consider them as something to avoid. They can be
>> very confusing to try and follow.
>
> Either they're supported and should work every single time or they shouldn't be
> supported at all. Supported anything in between is just messy.

I agree. But I still think that having circular imports is indicative of 
improper abstraction/encapsulation.



More information about the Digitalmars-d mailing list