As someone who recently got their first AR and tried several different optics choices as well.. a 20 inch barrel allows for a longer tube. A 16 inch barrel with a fixed front sight tower will run into issues with bigger bells and longer tubes.
If I were involved in home defense. a 16 inch upper would be my choice. If I were doing match target comps at 300-600 yards I'd get the 20 inch upper.