Skip to content

Suggestion: remove ?check and the yet-to-implement forwarding operator #9098

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
DartBot opened this issue Mar 13, 2013 · 3 comments
Closed
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Mar 13, 2013

This issue was originally filed by @tomyeh


IMO, it is not worth to introduce such kind of complexity to the language. There is nothing hard to implement without them.

It actually reminds me the chaos of undefined and null found in JavaScript. Sure, it helps some very specific cases, but, at the end, it only confuses the developers.

For example, it is too subtle and error-prone, if the following statement behaves different (assume it takes different actions based on ?check)

foo(abc);
foo(abc, null);

@iposva-google
Copy link
Contributor

Added Area-Language, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Mar 13, 2013

This comment was originally written by [email protected]


I think this is a duplicate of issue #9097.

@iposva-google
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #9097.

@DartBot DartBot added Type-Defect area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-duplicate Closed in favor of an existing report labels Mar 13, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

2 participants