M4 is also my first shotgun. While I have no plans on using it for home defense, I am signed up for a 3 day shotgun class to learn more about this family of firearms.
As Ben elLes mentioned, no warning shot nonsense, etc... Private citizens are not LE. Personally, I think a carbine/SBR (esp suppressed) or a handgun are a better home defense than shotgun.