title: Ruby case/when vs if/elsif
body: <p>The <code>case</code>/<code>when</code> statements remind me of <code>try</code>/<code>catch</code> statements in Python, which are fairly expensive operations. Is this similar with the Ruby <code>case</code>/<code>when</code> statements? What advantages do they have, other than perhaps being more concise, to <code>if</code>/<code>elsif</code> Ruby statements? When would I use one over the other?</p>