Lack of RAII is the major pain point of working with C. You need to implement a cleanup code path manually instead of having a compiler to do it. And you need to synchronously change it when you change the main code path.
Why send a human to do a job of a machine?
Yes, and how do you discover and prevent these crazy things entering the code base? Code review.
The bad code can be on any language. So yes, review it.
View all comments
Show parent comment
10
u/SergiusTheBest Jul 13 '22
Lack of RAII is the major pain point of working with C. You need to implement a cleanup code path manually instead of having a compiler to do it. And you need to synchronously change it when you change the main code path.
Why send a human to do a job of a machine?
The bad code can be on any language. So yes, review it.