It can be said that Whewell was the first, or one of the first, to put together a philosophy of science. His only rival in this respect was John Herschel, whose "A preliminary discourse on the study of natural philosophy" covered some of the same ground.