AR-15 Barrel Length & Twist Rate

Nate “Magic” Murr of Gripstop and Breach Bang Clear fame talks AR-15 barrel length and twist rate. Should you go with a 14.5″, 16″, or 18″ barrel for your next build? What about barrel twist rate? When is one twist rate better over another?