3 ms·
Amen. This is an issue at the company I work at. Common typos when looking up has keys will return nil - this has a tendency to silently keep working and blow
by arooaroo 3y ago
Amen. This is an issue at the company I work at. Common typos when looking up has keys will return nil - this has a tendency to silently keep working and blow up with a runtime error further down the chain. I am trying to insist on using .fetch to force an exception.
When the company switches to 3.2 I will insist on everyone using the new Data class for value objects rather than hashes.