Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Right, but all C courses I've done had UB in examples without mebtioning it. There teachers just didn't know what they are teaching.



Unless 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.”




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: