Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Clang is better than GCC. Parent comment
This code will not pass a code review in my last shop:
1. First get the return code: rc = memcmp(…
2. Then compare, and please put the constant first: if( 0!=rc ) …
C and C++ are dangerous tools, you should not use in production all the “sugar” they provide.
There are no comments on this comment yet.
This code will not pass a code review in my last shop:
1. First get the return code: rc = memcmp(…
2. Then compare, and please put the constant first: if( 0!=rc ) …
C and C++ are dangerous tools, you should not use in production all the “sugar” they provide.