Is there a reason for default-int?

Phil Deets pjdeets2 at gmail.com
Mon Dec 28 18:57:01 PST 2009


On Mon, 28 Dec 2009 16:18:46 -0500, Simen kjaeraas  
<simen.kjaras at gmail.com> wrote:

> Apart from C legacy, is there a reason to assume anything we don't know  
> what
> is, is an int? Shouldn't the compiler instead say 'unknown type' or  
> something
> else that makes sense?
>

C++ abandoned default int. I think it would be best for D to do the same.

Just my 2¢,
Phil Deets


More information about the Digitalmars-d-learn mailing list