We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think the best way to handle errors in Jou is:
NULL
-1
assert
Advantages:
Disadvantages:
This seems like a reasonable tradeoff for Jou, even though it's not a good solution in most other languages. It's also basically what C does.
This should be documented.
The text was updated successfully, but these errors were encountered:
Will there be a way to try/except for assertion errors?
Sorry, something went wrong.
No
No branches or pull requests
I think the best way to handle errors in Jou is:
NULL
or-1
) in stdlibassert
in quick and dirty scripts (e.g. AoC solutions)Advantages:
Disadvantages:
This seems like a reasonable tradeoff for Jou, even though it's not a good solution in most other languages. It's also basically what C does.
This should be documented.
The text was updated successfully, but these errors were encountered: