Re:Yoda Conditions
by paol on Friday February 17, 2017 @11:09AM
(#13669226)
Yes, "foo".equals(bar) is useful in Java if bar can be null, but that's a different thing.
[ Parent
| on HN ]
Re:Yoda Conditions
by brianwawok on Friday February 17, 2017 @11:26AM
(#13669402)
Not really different. In fact is is mentioned on the Wikipedia page.