Upgrade to Pro — share decks privately, control downloads, hide ads and more …

There's More To Code Reviews Than You Might Thi...

There's More To Code Reviews Than You Might Think (lightning talk)

So, you do code reviews. But there's probably much more you might want to check too.

Slides to my 10 minute lightning talk.

Daniel Shaw

August 04, 2015
Tweet

More Decks by Daniel Shaw

Other Decks in Programming

Transcript

  1. Check code style Automate if you can. Bad news can

    be better received by
 a cruel and lifeless script
  2. Code review everything Steps to run this script: * chmod

    644 install.sh * ./install.sh * Relax!
  3. Review the commit message [MYCOOLAPP-1234] Fix typo in install docs

    I set the install.sh permissions to be 644, it was supposed to be 744. We want it to be executed by the user.
  4. Double check the code $expected = ['2', '4', '5', 'cake'];

    $input = 0; if (in_array($input, $expected)) { echo "I'm in!"; }