The four lines that turn a script from 'carries on after an error' into 'stops at the first problem'.
Tag
Snippets tagged safety
?. stops at the first null and ?: supplies the fallback, replacing a stack of if statements.
Turning the feature on makes the compiler point at every place a null could slip through.
&. stops at nil; fetch raises rather than returning nil when a key is genuinely required.