The safe-navigation operator is a great way to avoid repeated null checks
13-Jan-2022 2208
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 #safe-navigation #operator #great #avoid #repeated #checks https://rubyonrails.ba/link/the-safe-navigation-operator-is-a-great-way-to-avoid-repeated-null-checks