Slashdot Mirror


User: Bart+Botma

Bart+Botma's activity in the archive.

Stories
0
Comments
1
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1

  1. Orthogonality on The D Programming Language · · Score: 1

    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){}