Are they random, though?
What does "random" even mean? How intelligent is evolution? Is it stupid and random? Does it have the same level of direction as a single-celled organism? As an insect? As a mammal? That's still an open question.
There's a spectrum of hypothesis. To give a few:
- They are guided by an intelligent creator
- They are random and stupid
- There is intelligence built into the system which results in mechanisms like changing mutation rates during periods of crisis, sexual selection / reproduction, genetic crosstalk, DNA encoding, etc.
It makes a big difference. We can compare different optimization algorithms we run on computers (various gradient descent, simulated annealing, genetic algorithms, etc), as well as different encodings we run those over. The results aren't the same.
That has profound implication philosophically, theologically, and scientifically.
The oversimplified school version is not helpful in that it potentially leads to the wrong conclusions.