You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand the tradeoffs explained in the language spec. However, in a
modern language, the lack of an ability to abort control flow leads to
very poor coding styles.
It results in an error result code programming style that is very fragile,
since callers have to be disciplined to pay attention to result codes. It
is also more work to continuously pass errors up the call chain.
With exceptions, errors cannot be ignored by accident, and that leads to
better code by default.
You are taking the trouble to implement garbage collection. The same
reasons apply to having an exception mechanism: it relieves tedium from
the programmer, and makes code safer.
Use .NET or C++ as a guide for exceptions, not Java. Checked exceptions
tend to force naive programmers to catch and swallow them to shut up the
compiler, which leads to the worst of all possible worlds: errors that are
silently ignored.
The text was updated successfully, but these errors were encountered:
We're not preluding the addition of exceptions in the future, but the bug tracker is
best
suited to tracking precise issues. The mailing list is better for discussion these sorts
of
topics.
So I'm closing this bug, but please understand that it's not a rejection of your idea,
just
that we use our bug tracker differently.
Cheers
by rblaak:
The text was updated successfully, but these errors were encountered: