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

Improved support for null safety #71

Closed
mit-mit opened this issue Oct 31, 2018 · 3 comments
Closed

Improved support for null safety #71

mit-mit opened this issue Oct 31, 2018 · 3 comments
Labels
request Requests to resolve a particular developer problem

Comments

@mit-mit
Copy link
Member

mit-mit commented Oct 31, 2018

A common source of programming faults are programs that unintentionally try to use values that are null. This issue requests Dart support for differentiating between nullable and non-nullable data types, paired with static validation.

Given vast amount of code already exists, it additionally requests a mechanism by which Dart packages and apps can gradually migrate to to utilize this.

UPDATE: this is being worked on as part of #110

@mit-mit mit-mit added the request Requests to resolve a particular developer problem label Oct 31, 2018
@yjbanov
Copy link

yjbanov commented Oct 31, 2018

I would strongly recommend that we also add a requirement that null safety is designed with unboxing in mind. Even though by itself it does not result in unboxing, it is a necessary first step for any future language evolution towards higher performance.

@dainmiller
Copy link

dainmiller commented Jul 5, 2019

Maybe for this we can look at Swift's extreme success with optional types?

@mit-mit
Copy link
Member Author

mit-mit commented Dec 12, 2019

Closing this request issue as this is being worked on and tracked as feature #110

@mit-mit mit-mit closed this as completed Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Requests to resolve a particular developer problem
Projects
None yet
Development

No branches or pull requests

3 participants