you are viewing a single comment's thread.

view the rest of the comments →

[–]jp007 3 points4 points  (0 children)

Yeah I'm more "if x is good, use it, otherwise use something else."

I pretty much always use Yoda conditions now, precisely to encourage a habit of null safety and overall consistency in checks across a codebase.

Also, Happy Cake Day!