Who recommends a shotgun for home defense? Its a poor choice as it is less maneuverable, ranges are very short and gives the attacker a lot of leverage to pull it away from you. Of course, people selling shotguns might recommend them...
A shorter barrel would obviously be more maneuverable, but shotguns must have a minimum barrel length of 18" by law, specifically in order to prevent them from being easily concealed.
Merits of the recommendation aside, it is a very common recommendation made by many, not merely shotgun dealers.
There is a popular school of thought that suggests a shotgun does not need to be fired or even seen to be an effective home defense.