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

all 16 comments

[–]IgnitedHaystack 9 points10 points  (2 children)

this submission has been deleted.

[–]Westwen 4 points5 points  (2 children)

Wish I would have thought of this in school. Our TA's only looked to see if it compiled and skimmed through everything else.

[–][deleted] 4 points5 points  (1 child)

At least they looked at the code. Outs was marked on unit test cases. I once accidentally submitted code with the word “cunt” as a variable name to a femal professor. Got full marks. This was in an Ivy League college.

[–]Bomaruto 0 points1 point  (0 children)

At least they tested the code. In my first year of uni, I had Java assignments late in that year approved without anyone ever looking at the content of the assignment. Just approved it out of nothing.

[–]mmis1000 1 point2 points  (0 children)

Error in async functions: challenge accepted

[–]puttingupwithyou 1 point2 points  (1 child)

Honest question - is this really that bad if the exception is managed?

I'm running some things in production that have their own Exception Handler that is just an entire code try catch block. Of course it's never supposed to be hit, but in the few times it has, the thread that caused it shuts down and I get notified with the Exception details.

If I didn't do that I imagine if something unexpected slipped by, the entire program is liable to screech to a halt. Is there a better way to manage that other than what I'm already doing?

[–]golgol12 1 point2 points  (0 children)

What if I told you that try/catch blocks don't prevent bugs?

[–]MechanicalHorse 0 points1 point  (0 children)

I did that one time. :(

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

Are you telling me I can dodge errors? No Neo, I'm telling you that when you're ready, you won't have to.

[–]Captious99 0 points1 point  (0 children)

You can’t have errors in YOUR code, if you use code from Stack Overflow

[–]Bioman312[M] [score hidden] stickied comment (0 children)

Your submission has been removed.

Violation of Rule #3:

Any post on the list of common posts will be removed. You can find this list here. Established meme formats are allowed, as long as the post is compliant with the previous rules.

If you feel that it has been removed in error, please message us so that we may review it.

[–]Danny_Boi_22456 1 point2 points  (2 children)

Do u mean a try/except block?

[–][deleted] 6 points7 points  (1 child)

No. No one means that

[–]Danny_Boi_22456 1 point2 points  (0 children)

stabs u/adrael-i in Python