Hacker News new | ask | show | jobs
by unnamed76ri 491 days ago
How exactly did plants find this chemical irritant?
2 comments

Using a random walk algorithm through genetic space over millions (or billions) of years.
Survival of the fittest. One plant was a tiny tiny bit more spicy by freak chance and it did a little better than the others, over many years..

Probably.