• 2 Posts
  • 2 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle

  • What is the precise expected behavior here?

    Oh just because the docs said “The null-conditional operators are short-circuiting” and “the rest of the chain doesn’t execute” I wondered, if the object is null, it would just skip executing the assignment completely. Didn’t have high hopes, but thought I’d ask just in case, as it would be kinda handy as well. Probably pretty rarely though.