Humans still effectively gestate for years after birth in order to develop the fine motor skills to walk, learning via observing others in the meantime.
We hire software engineers right after graduation, giving them time to develop relevant industry skills via mentorship.

We used to think that it took four years of gestation to produce a healthy baby. Thanks to the miracles of modern market conditions, some premature babies can survive after just six months!