Does Crank Length Matter?

Where did crank length come from? Where did these lengths that we consider “standard” originate? Has crank length just been passed down from one generation to another and over time has just become accepted even though there is no basis for the current “standard” with the current bicycles we ride today.