News for hackers. Stuff that matters.
Re:Yoda Conditions by busterarm on Friday February 17, 2017 @12:30PM (#13670035)
The trick saves the person writing the code and anyone modifying it down the road.

You can't force everyone who edits your code to have linters and warnings turned on. Not everyone follows bests practices.

Re:Yoda Conditions by michaelmior on Friday February 17, 2017 @12:35PM (#13670072)
Does it? You also can't force everyone who edits your code to follow your conventions.
Re:Yoda Conditions by digler999 on Friday February 17, 2017 @05:08PM (#13672135)
actually you can, depending on the management structure in an organization :)