What he was saying was, actually the full quotation is, "If you press me to say what is the method of science, I would have to say: anything goes." What he was trying to say is that scientists do a lot of different things. Scientists are creative.
Lo que decía, lo que toda la cita dice: "Si me presionas para que diga cuál es el método de la ciencia, diría que todo lo vale". Lo que trataba de decir es que los científicos hacen cosas diferentes. Los científicos son creativos.