Re:Show HN: Verify JSON using minimal schema
by oefrha on Thursday April 16, 2020 @04:10AM
(#22887223)
Exclamation mark for optional is just weird. Question mark would be a lot more intuitive, unless there’s an origin story here I’m not aware of.
[ Parent
| on HN ]
Re:Show HN: Verify JSON using minimal schema
by angry_cactus on Thursday April 16, 2020 @04:23AM
(#22887296)
Not sure of the exact motivation, but Swift uses exclamation mark to unwrap optionals.