Warnings/What should I know?

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Oct 18 10:08:01 PDT 2013


On Fri, Oct 18, 2013 at 08:56:45AM +0200, monarch_dodra wrote:
> On Friday, 18 October 2013 at 06:13:38 UTC, DDD wrote:
> >I'm learning D. I'm curious about surprises I may get. I typically
> >use C++, C# and javascript
> 
> Off the top of my head, I think the biggest one is that D doesn't
> offer "default constructors". Instead, it only has a default value
> initialization.
[...]

I thought classes do have default ctors?


T

-- 
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners... -- Slashdotter


More information about the Digitalmars-d-learn mailing list