Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Yoda Conditions. Parent comment
So say untrusted user input.. many cases where it could be something or null. Yoda checking it was a nice way to save a null check.
There are no comments on this comment yet.
So say untrusted user input.. many cases where it could be something or null. Yoda checking it was a nice way to save a null check.