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

The silver lining is that really 99% of the time it just doesn't matter. I just explicitly initialize everything to zero/nullptr (unless I have a specific reason to want a different explicit value), and I only worry about looking up the particular rules if I need them in a situation where I know initialization can be a significant cost like a gigantic array. It is annoying to look up every time that happens but it's not that often.


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

Search: