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

I love how in every C code snippet on every comment on this thread, somebody got something wrong. I take it as a sign that it's probably best to avoid C as much as possible.


! multithreaded it's not Hey, at least code


Any C compiler that isn't a trivial toy implementation will warn about that, so it's hardly a C gotcha.


clang and VC++ for x64 warn about this out of the box, but gcc seems to need -Wall.




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

Search: