Artificial intelligent assistant

Is it safe to stand by the windows during a thunderstorm? There is widespread belief in my culture that we should not stay near door or windows during lightning. So people advise others to stay inside house with doors and windows closed to be safe from lightning. Is there any scientific basis for that idea of being hit by lightning when staying close to doors or windows?

It's not just your culture. Advice from the US National Weather Service includes:

> Stay away from windows and doors, and stay off porches.

The answer to this related question (including the transcript of interview with meteorologist John Jensenius) and this advice from National Geographic gives some reasons for the advice.

* Metal frame windows and doors are good electrical conductors, but even glass can conduct lightning.
* Lightning strikes on the building or debris from nearby strikes can shatter glass in windows and doors causing flying glass.
* Lightning is often accompanied by other extreme weather including high winds and hail which can damage windows and doors.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 6b021283d611f2836b65eeb36adfdf5b