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

Isn't the other way around? Vendors already had picked C and they wanted to claim compliance to the then brand new C89 standard so anything they didn't want to give up on was deemed "implementation-defined behavior" and anything they couldn't give up on[0] was deemed "undefined behavior".

[0] because their machines worked very differently from the others' machines



That doesn't really explain how stuff like not ending a source file with a newline is UB.




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

Search: