News for hackers. Stuff that matters.
Re:Named parameters in C by mpyne on Monday July 14, 2014 @10:47AM (#8031152)
That's true, but the parent comment never claimed that, only that missing arguments are assigned the value 0 in the resultant struct.
Re:Named parameters in C by micampe on Monday July 14, 2014 @11:00AM (#8031205)
“[…] so you get optional parameters for free”
Re:Named parameters in C by nitrogen on Monday July 14, 2014 @11:36AM (#8031400)
I should have finished that with "... as long as a default of 0 is acceptable." If 0 is a valid argument but a bad default, then it's slightly less useful.