What IDE/EDITOR do you use for D?

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 30 05:42:07 PDT 2014


On Thursday, 30 October 2014 at 11:03:08 UTC, Ola Fosheim Grøstad 
wrote:
> On Thursday, 30 October 2014 at 10:24:19 UTC, Paulo  Pinto 
> wrote:
>> In 30 years of coding I never found this to be a problem and 
>> it saved a lot of bad pointers being passed on to functions.
>
> Why bad pointers, they are typesafe?
>
> What I dislike the most about C ptrs is this:  "ptr->field" vs 
> "object.field"

void mightCrash (int *value)
{
    // Is value pointing to somewhere sane? How do you validate it?
    *value =  23;
}



More information about the Digitalmars-d mailing list