Lone Star Ruby Conference - Ruby Rogues Panel

Lone Star Ruby Conference - Ruby Rogues Panel

A discussion of best practices and style guides

Charles Wood

July 20, 2013

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

6 slides
  1. # bad if some_condition then # body omitted end #

    good if some_condition # body omitted end Friday, August 9, 13
  2. # bad begin n / d rescue ZeroDivisionError puts "Cannot

    divide by 0!" end # good if d.zero? puts "Cannot divide by 0!" else n / d end Friday, August 9, 13

More Decks by Charles Wood

Other Decks in Programming