you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 2 years ago (2 children)

There’s more to it imho. The first three are more prone to mistakes than the last. You are much less likely to accidentally alter the logic intended in a simple null coalesce than you are in if statements.

  • source
  • parent
  • hideshow 2 child comments