News for hackers. Stuff that matters.
Re:How to reduce the cognitive load of your code by kilink on Tuesday March 29, 2016 @02:13PM (#11383554)
Java if statements only allow boolean expressions, so the thing that the Yoda condition is supposed to protect against isn't even possible. I think this is precisely what the author is talking about, as this style is a totally unnecessary holdover from C.

There are no comments on this comment yet.