This can also be written as `f.gets || 0`