Livestock Guardian Dogs may be the exception.
My LGDs are outside all day, and they never quit barking. But if I were to bring them indoors they'd lose their marbles. And when the Coyotes are only two fields away my barking dogs keep the goats safe. So there are some situations where a barking dog isn't neglected, and where they're actually doing a job.
In sad contrast my good friends left their old lab outside during record low temps and they refused to bring her in, she's short haired and arthritic. They really don't love her

My LGDs were inside, even though they wanted to be outside.