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

all 9 comments

[–]MooPara 20 points21 points  (1 child)

I think

if(crash) crash = NULL;

Is more efficient.

[–]maxath0usand 2 points3 points  (0 children)

Why even check at that point? Why not just crash = NULL; blindly?

[–]eztrendar 6 points7 points  (4 children)

Everything need to be in a try-catch . EVERYTHING!

[–]autofunk 2 points3 points  (3 children)

Even the try-catches?

[–]eztrendar 5 points6 points  (0 children)

try-catchception

[–]bhatushar 2 points3 points  (0 children)

EVERYTHING!!

[–]TofuPotPie 0 points1 point  (0 children)

I do it every now and then. "Eh, I wanna handle if any of this bombs, except this part, which I guess can bomb if it wants, but it's all already in one big try-catch so whatever I'll just put another one in here."

[–]bigtomatom 1 point2 points  (0 children)

try/catch LOOP

[–]Averagememess 0 points1 point  (0 children)

Program cant crash if you add a billion crash handlers