Ruby: Nil

1 · Carlos Alexandro Becker · Sept. 9, 2013, midnight
Following my previous posts with basic Javascript aspects, like context and variable hoisting, I’ll try to write some basic concepts of the Ruby language. I decided to start with something that usually confuses new Ruby users (sometimes they don’t even know that they are confused, by the way): the Ruby nil object. In Java we’re used to treat null as a special value or even a keyword. In Java, null holds a value which no valid point will ever refer to....