News for hackers. Stuff that matters.
Re:Clang is better than GCC by MikePlacid on Sunday November 27, 2022 @10:40PM (#33769582)
> that a second pair of eyes will also help.

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.