39

How I do code reviews

Comments
  • 2
    Brilliant!
  • 0
    I actually enforce Yoda conditions in our team (along with triple equals for strict type checking). interesting that you prefer otherwise, although I may steal the ASCII idea for the opposite usage :P
  • 0
    ^ symfony prefers yoda. I prefer the norm
  • 0
    I prefer the Yoda method. lot less hassle to type 'null !=variable' than to chase down a bug because somehow it became 'variable=null' in an conditional statement.
Add Comment