The safe-navigation operator is a great way to avoid repeated null checks

The safe-navigation operator is a great way to avoid repeated null checks. However, sometimes it can go a bit wrong. This post outlines a specific case where care is needed to ensure you don't break existing logic.
The safe-navigation operator is a great way to avoid repeated null checks #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/the-safe-navigation-operator-is-a-great-way-to-avoid-repeated-null-checks

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles