3 ms·
> removing optional values Slight correction: optional values are not removed. Quite the opposite; the "optional" keyword is removed because now all fields are
by tantalor 10y ago
> removing optional values
Slight correction: optional values are not removed. Quite the opposite; the "optional" keyword is removed because now all fields are optional. It is actually required values which were removed.
- zellyn 10y agoTrue. But when using them, it feels like every field is "present" and you don't have to worry about the "optional, missing" case.
- tantalor 10y agoFor primitives, yes, but not messages.
- honkhonkpants 10y agoYou're both right. What has been removed is the concept of presences altogether.