5 ms·
The best solution was already there: have a canparse() to do up front if statement checks, and use the language's exception handling for the rest. I understand
by robertlagrant 2y ago
The best solution was already there: have a canparse() to do up front if statement checks, and use the language's exception handling for the rest.
I understand people might not like exceptions, but special-casing certain calls like just makes the language harder to use.