Antibiotic resistance is a major and growing problem worldwide. According to the World Health Organization, antibiotic resistance is rising to dangerously high levels in all parts of the world, and new resistance mechanisms are emerging and spreading globally, threatening our ability to treat common infectious diseases. But how these bacterial resistance mechanisms occur, and whether we can predict their evolution, is far from understood.