4 ms·
When was the last time you checked the return value of 'printf' ? Would you consider it a good thing to be forced to do? Moreover, there are functions for whi
by Ace17 7y ago
When was the last time you checked the return value of 'printf' ?
Would you consider it a good thing to be forced to do?
Moreover, there are functions for which "not ignoring" the return value isn't the same as "checking it" (e.g malloc, fopen, etc.).
(CppCon about error handling: https://www.youtube.com/watch?v=GC4cp4U2f2E https://www.youtube.com/watch?v=GC4cp4U2f2E )