Skip to content
New issue

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

Design Principle: Resilient vs. Strict #63

Closed
stasm opened this issue Mar 2, 2020 · 3 comments
Closed

Design Principle: Resilient vs. Strict #63

stasm opened this issue Mar 2, 2020 · 3 comments
Labels

Comments

@stasm
Copy link
Collaborator

stasm commented Mar 2, 2020

A dedicated issue for discussing one of the design dimensions proposed in #50.

Resilient vs. Strict

How far do we want to go to provide fault tolerance in case of runtime errors (an error in a formatter, a missing variable, a mismatched selector, etc.) and syntax errors (unclosed placeable, missing delimiter, invalid comment sigil, etc.)?

Related Issues: #45

@stasm stasm mentioned this issue Mar 2, 2020
@Fleker
Copy link

Fleker commented Mar 2, 2020

In some cases, having a strict runtime will enforce best practices and allow build systems to catch errors early. I think being more strict will be beneficial for large applications. Still, that can impose a higher burden on small developers. It may be optimal to mark these syntax issues as warnings, with a runtime parameter to "fail on warning" to provide a strict mode.

@zbraniecki
Copy link
Member

At Mozilla we enable eager errors in CI, tests and custom builds, and no visible errors plus strong recovery in production

@aphillips
Copy link
Member

Closing this issue as stale. Please open new specific issues if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants