Languages should respect orthogonality. Well, at least programming languages should. C and its derivatives do not. Just look at the difference between function parameter declarations and variable definitions. E.g.
char a,b; int c;/* legal definition *//* both a and b are of type char */
int f(char a,b, int c){}/* legal function definition *//* but b is of type int! */
My suggestion: borrow ';' from Modula [Wirth] to seperate function parameter declarations! E.g.
int f(char a,b; int c){}
Languages should respect orthogonality. Well, at least programming languages should. C and its derivatives do not. Just look at the difference between function parameter declarations and variable definitions. E.g. char a,b; int c; /* legal definition */ /* both a and b are of type char */
int f(char a,b, int c){} /* legal function definition */ /* but b is of type int! */
My suggestion: borrow ';' from Modula [Wirth] to seperate function parameter declarations! E.g.
int f(char a,b; int c){}