Add optional types #10
andrey-zherikov
started this conversation in
Ideas
Replies: 2 comments
-
This is nice and should be used in the library rather than a raw pointers as we have it today. However, it also ties into adding l-value references. Like this example using AAs. // Old method
// Newer method
// Using references
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Null-safety please: int*? p = null;
int* q = p; // error
p = q; // OK |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I believe optional types should be baked into language, not be a library solution, so:
Beta Was this translation helpful? Give feedback.
All reactions