Now I want to go back to all my old code and refactor everything that says x = a if x.nil? into x ||= a That's so awesome.
x = a if x.nil?
x ||= a
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.