Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I dont get exceptions

Name: Anonymous 2010-05-06 18:21

Most every programming language has exceptions, but I dont understand the need for them over regular error checking code. I took a Java course and we just used regular if statements to check input values from IO and it worked perfectly fine. Ive heard exceptions are not allowed in highly critical code as it makes unpredictable runtime logic. Can someone tell me what exceptions offer beyond error checking code that you could write on your own?

Name: Anonymous 2010-05-06 23:42

>>8
yeah, goto is the most general solution. but there's a reason it's considered harmful.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List