The article analyses physicists’ attitudes towards philosophy on the examples of the positions of eminent theorists. There are two physicists’ philosophical attitudes towards philosophy: pro-philosophical (Einstein, Bohr, Heisenberg, von Weizsäcker, Penrose, Rovelli) and anti-philosophical (Weinberg, Hawking, Feynman). I analyse some physicists' arguments for or against philosophy. It is demonstrated that physicists are most critical of all philosophical conceptions that accept a priori factors in cognition, while those who recognize the significance of philosophy for science most often refer to the Pythagorean-Platonic tradition as the proper basis for understanding modern physics.
The article presents the main functions of aesthetic values (beauty, simplicity, symmetry) in the process of formulating, evaluating and accepting scientific theories in the work of physicist: 1) they motivate to undertake scientific research; (2) have a heuristic role which enables the direction of the search for a new theory to be selected; (3) are a criterion for choosing between empirically equivalent theories in the absence of empirical evidences and (4) sometimes constitute an epistemological obstacle. The basic thesis of the work is that aesthetic values, in addition to positive functions, also play a negative role in science, hindering the acceptance of new theories or leading to inefficient research. Too much weight on the aesthetic side of theory can pose a threat to the objectivity of scientific cognition.