But if that still doesn't work, are you going to need a light?I think many do it because they saw it on TV. But why not try to avoid any encounter? Wouldn't it be smarter to use some kind of movement sensor light system with cameras and warning the potential burglar of the system, then a kind of alarm system if there is an intrusion? If this for some reason doesn't work, you could call the police and with a loud voice declare that you did, so that the chances increase to move any encounter outside for others to deal with. Defending your home with a gun is one thing, but in my opinion, there can't be too many countermeasures tried before having to resort to gunfire.
You could always have one and not use it if you don't need to, but you can't use what you don't have if you need to. Heck, why even have a gun?