Perspectives on flavor anomalies