As somebody mentioned while I was writing this, only responsible programmers should be writing in C. Irresponsible programmers should write other languages that have more training wheels. These are the sorts of things responsible programmers do.
I’m not sure someone who can’t find the time to mention Clang’s sanitizers (I think GCC has ported ASan, I don’t know about the others) in a guide about how to write safe C in 2016 should be contemptuously lecturing others about their irresponsibility.
I’m not sure someone who can’t find the time to mention Clang’s sanitizers (I think GCC has ported ASan, I don’t know about the others) in a guide about how to write safe C in 2016 should be contemptuously lecturing others about their irresponsibility.
If you don’t need to do pointer arithmetic then you probably shouldn’t be writing C at all.