For the purpose of hamstring development,
box squats
beat squatting to full depth because when properly performed, they recruit a lot more hamstring tissue than the latter and can help you develop explosive strength in the squat movement and effectively train the posterior
chain.