3 ms·
So like "var quota : string | null"? :-)
by ofrzeta 1y ago
So like "var quota : string | null"? :-)
- haiku2077 1y agoOr quota Optional<string>
- IshKebab 1y agoYeah. But C++, C, Java and I think even Go don't let you easily encode nullability into the type system. There have been many attempts to fix it (e.g. `@Nonnull` in Java) but none are as good as Typescript or Rust for example. Dart actually started off with implicit nullability and switched to explicit which was a huge effort.