-
Notifications
You must be signed in to change notification settings - Fork 704
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
[Future] Move away from documenting "null safety" as its own entity #4603
Comments
Small subset of this, but there's been conversation about From @fishythefish :
And also links to this: https://github.com/dart-lang/language/blob/main/accepted/2.12/nnbd/feature-specification.md#null-aware-operator Maybe this should be handled in a break out issue, just documenting here since it's part of the null safety break down. |
A clarification from @srawlins in response to point 2:
I didn't realize this was something added in null safety until I went back and looked at the feature specification again. Analyzer does emit a diagnostic for unnecessary uses of |
Removes the null safety codelab and references to it. In a few days, I will follow up soon with some new samples on the cheatsheet to replace this. This codelab is the least viewed on the site and no longer makes sense to separate from other language learning. As mentioned, I will follow up with a few new samples on the cheatsheet as a stop-gap until we implement a consolidated new-learner experience. Contributes to #5382 Contributes to #4603 Closes #3093
Removes the null safety codelab and references to it. In a few days, I will follow up soon with some new samples on the cheatsheet to replace this. This codelab is the least viewed on the site and no longer makes sense to separate from other language learning. As mentioned, I will follow up with a few new samples on the cheatsheet as a stop-gap until we implement a consolidated new-learner experience. Contributes to dart-lang#5382 Contributes to dart-lang#4603 Closes dart-lang#3093
Removes the null safety codelab and references to it. In a few days, I will follow up soon with some new samples on the cheatsheet to replace this. This codelab is the least viewed on the site and no longer makes sense to separate from other language learning. As mentioned, I will follow up with a few new samples on the cheatsheet as a stop-gap until we implement a consolidated new-learner experience. Contributes to dart-lang#5382 Contributes to dart-lang#4603 Closes dart-lang#3093
Currently we have a lot of documentation covering null safety as both an integrated and an isolated concept, but it really is just a part of the type system. In the longer term (far post Dart 3) "null safety" as a term likely shouldn't be super common on the site, but instead be incorporated naturally across the entire documentation, particularly updated type and type systems sections.
Prerequisites:
Some steps:
Way later steps:
--no-sound-null-safety
)The text was updated successfully, but these errors were encountered: