Code intent

Code intent

The code below does not convey intent. And it has side effects.

def show 
  discussion 
end

``` def discussion \@discussion ||= Discussion.find end

comments powered by Disqus