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

Null safety #18

Open
SimonLab opened this issue Nov 20, 2020 · 1 comment
Open

Null safety #18

SimonLab opened this issue Nov 20, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@SimonLab
Copy link
Member

https://www.youtube.com/watch?v=iYhOU9AuaFs

By default the variables will not be able to be null.
You will need to specify if a variable can be null with ?: var hello? = "hello";
This sounds similar to how some FP languages are using Maybe

@SimonLab SimonLab added the enhancement New feature or request label Nov 20, 2020
@nelsonic
Copy link
Member

Worth reading this post: https://medium.com/dartlang/announcing-dart-null-safety-beta-87610fee6730

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

No branches or pull requests

2 participants