Skip to content

Checked exceptions #52545

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

Closed
yichaosun opened this issue May 29, 2023 · 1 comment
Closed

Checked exceptions #52545

yichaosun opened this issue May 29, 2023 · 1 comment
Labels
closed-duplicate Closed in favor of an existing report

Comments

@yichaosun
Copy link

Change Intent

CheckException can force engineer to handle exception,

Justification

I worked with C++, Java, and finally, found that check Exception is necessary and more engineering

Impact

to make programs more strong,no exception throw without handle

Mitigation

likee no empty check, the programmer must handle exist exception ,and even use throws key word

@yichaosun yichaosun added the breaking-change-request This tracks requests for feedback on breaking changes label May 29, 2023
@kevmoo kevmoo removed their assignment May 29, 2023
@lrhn lrhn changed the title [breaking change] <Check Exception, please> Checked exceptions May 29, 2023
@lrhn lrhn removed the breaking-change-request This tracks requests for feedback on breaking changes label May 29, 2023
@lrhn
Copy link
Member

lrhn commented May 29, 2023

This is a duplicate of dart-lang/language#984
There are currently no plans to add checked exceptions to Dart, and not current plans to change that.

@lrhn lrhn closed this as completed May 29, 2023
@lrhn lrhn added the closed-duplicate Closed in favor of an existing report label May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

4 participants