Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
munificent
on Dec 8, 2020
|
parent
|
context
|
favorite
| on:
Why nullable types?
String s = null;
This is a compile error in Dart now. We added nullable types in order to make all other types
not
nullable. So unless you explicitly opt in to nullability by putting "?" on the type, you can a type that does not permit null.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: