by aleaonard54 · 12y ago · 0 comments
func(5,0,0,NULL,0,true,true,false,NULL,true);
func(verbose: true);
With named parameters, I can just specify the differences between my function call and the default values.a Windows programmer by any chance? :)
void drawBox(int X,int Y,int W,int H);
void drawBox(int TL,int TR,int BL,int BR);
Having an extra safety for mature code offers an immediate protection, in a much more accessible fashion then competing ideas like 'concepts'.