4 ms·
Plenty of universities teach C every day even if that means specifying a compiler, and usually it’s a very boring compiler that gets chosen
by bobthepanda 2y ago
Plenty of universities teach C every day even if that means specifying a compiler, and usually it’s a very boring compiler that gets chosen
- n_plus_1_acc 2y agoRight, but all C courses I've done had UB in examples without mebtioning it. There teachers just didn't know what they are teaching.
- bobthepanda 2y agoUnless you are writing a compiler and code specifically tailored to take advantage of UB, there’s not much to say about it other than “be careful about UB cause it can make your program buggy from your POV.”