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

I have two things to say.

#1 The submitted article is very good. #2 I'd add to it, avoid pointer arithmetic when possible. Use array notation instead. Typically the difference in execution speed is zero to nil. #3 I'd really like a pragma that forces an exception for unchecked return values. Something like

    int DoSomeThing(/* whatever*/) #pragma exit "unchecked non_zero"
Meaning if DoSomething() doesn't return zero the program bails.


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

Search: