Lessons from the history of science