It&#x27;s idiomatic ruby.<p>First as the conditional only has one statment it&#x27;s preferred to write it in its shorthand way, so instead of<p><pre><code>  if a.bytesize != b.bytesize
    return false
</code></pre>
We start by writing<p><pre><code>  return false if a.bytesize != b.bytesize
</code></pre>
And then unless is the negated conditional, so we rewrite it as<p><pre><code>  return false unless a.bytesize == b.bytesize
</code></pre>
Which some peolpe (myself included) consider easier to read, the &#x27;unless&#x27; is easier to note (more chars) than the &#x27;!=&#x27;.