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

My favorite debugging method is still printf()


Macro backed by fprintf(stderr, ..) since stdout is buffered.

Generally avoiding C unless something specific and small absolutely requires performance (rather than premature optimization), because maintainability, safety, and velocity tend to be better in higher-level languages.




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

Search: