4 ms·
What are the best strategies to cope with the undefined areas in C?
by pflanze 7y ago
What are the best strategies to cope with the undefined areas in C?
- saagarjha 7y agoThe best one is to not write C. The second best is probably to read the standard papers, be very careful (perhaps using a secure style guideline) and making generous use of tooling to help you catch mistakes.
- mhh__ 7y agoEither don't use C, or use C and avoid UB with Sanitizers and skill (i.e. using a typedef'd that you guarantee that the size of x is ...)