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;
}
