Two screencasts, two ways to eradicate Ruby nil values – RubyTapas

02-Feb-2017 4043
nil values are the worst. They crop up where you didn’t expect them. Their presence forces you to litter your code with conditionals: checking, checking, and checking again if a variable contains nil .

Free eBook download

Download all our eBooks for free from Gumroad!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these books offer thousands of essential questions and answers across multiple languages. Download the complete collection for free from our Gumroad page. Free Ultimate Job Interview Preparation eBook collection