Which you use depends on how you connect the switch.
I would recommend the pull-up version. That way it is a lot harder to put a dead short on the 3.3V line if something goes wrong with your cabling to the reed switch.
Which you use depends on how you connect the switch.
I would recommend the pull-up version. That way it is a lot harder to put a dead short on the 3.3V line if something goes wrong with your cabling to the reed switch.