|
|
|
|
|
by riffraff
5332 days ago
|
|
IME using any value as boolean never caused me any problem, neither in ruby nor in other languages where the same is possible. What stuff should happen when something is unexpectedly nil if you tested it for truth-ishnes? Once you have written if not some_value
something with some_value
end
the only things you can do with `x` are things you can do with `false`, which are not many. |
|