Quantcast
Channel: Stack Exchange – Ars Technica
Viewing all articles
Browse latest Browse all 40

How to handle divide by zero in a language that doesn’t support exceptions?

$
0
0
How to handle divide by zero in a language that doesn’t support exceptions?

(credit: Stack Exchange)

This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites.

Mathew Foscarini asks:

I'm in the middle of developing a new programming language to solve some business requirements, and this language is targeted at novice users. So there is no support for exception handling in the language, and I wouldn't expect them to use it even if I added it.

Read 28 remaining paragraphs | Comments


Viewing all articles
Browse latest Browse all 40

Trending Articles