Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

function arguments()

Name: Anonymous 2010-04-24 9:47

Which do you prefer:


int foo(int a);
int foo(int a = someDefaultArgument);


or

int foo(int a);
int foo(void);

Name: Anonymous 2010-04-24 17:12

>>4
no, you'd write foo(b=6), because Guido doesn't like spaces between default values in a function definition or call.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List