Re:Diminishing returns of static typing
by Sir_Cmpwn on Monday October 02, 2017 @06:51PM
(#15388660)
/t/tmp.1q8r9dZAtX > cat test.c
int main() {
char *test = "test";
int i = 10;
return test == i;
}
/t/tmp.1q8r9dZAtX > cc test.c
test.c: In function ‘main’:
test.c:4:14: warning: comparison between pointer and integer
return test == i;
^~