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

Exactly.

Today I was astounded when I found out that passing NULL to std::string::operator=() results in a crash.

Qt's QString and QByteArray classes run null checks on practically everything.



Why were you astounded? I don't think I follow.




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

Search: