Is there a programming language which can consume the following input:
m = 1;
n = 2/0;
print(n);
print(m);
and successfully print “1” on the screen?
Maturity of that language and quality of implementation doesn’t matter much.
EDIT: Don’t take question explanation literally. I’m not interested in division by 0. I try to find a language which is insensitive to (almost) all runtime errors.
Visual Basic:
On Error Resume NextAnd I’d like to point out that most languages can handle the above with whatever keywords the languages allow for hooking into interrupts.