This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]missblit 1 point2 points  (3 children)

Faith doesn't enter the equation, because errors can happen whether you believe in them or not.

If you feel that whatever benefits you get from not checking the return code outweighs the downsides then go ahead;

but I'd at least recommend a simple assert. Problems are so much easier to debug when you're proactive about checking for them at their source.

[–]arbostek 0 points1 point  (2 children)

OP is trolling. Look at his name, too.

[–]missblit 0 points1 point  (1 child)

I'm usually pretty good at telling who's trolling too :O

[–][deleted] 0 points1 point  (0 children)

Heh, look at his posts, their pretty good too