A scientist is looking for general laws, it is true; but at the same time he wants to solve individual cases or problems; laws are not science, but only a means to get science; and if a law does not solve a specific problem, the scientist will change the law and not the problem. Thus science, like ethics, aims at the individual case.
Anti-pragmatism; an Examination Into the Respective Rights of Intellectual Aristocracy and Social Democracy, Part I, Chapter II (p. 90)