This article aims to present an interpretative perspective on the concept of the law
of peoples, enabling its contemporary conceptualization. According to the main research thesis of the article, the concepts of the object-oriented programming paradigm provide an effective conceptual apparatus for reinterpreting philosophical claims, which, in particular, can be applied to contemporary conceptualization of John Rawls’ law of peoples. In the first part of the article, the relationships between the object-oriented programming paradigm and philosophy in three areas are specified and described: the philosophy of computer science, the philosophy of science, and computational philosophy. The next part presents the key mechanisms of the object-oriented programming paradigm, such as class-object and inheritance. In turn, the third
part shows how selected articles of the Treaty on European Union, the Treaty on the Functioning of the European Union, the North Atlantic Treaty, and the Geneva Conventions flesh out the principles of justice specified in the law of peoples. On this basis, the conclusion is drawn that they are related to each other by the relationship of inheritance. In the fourth part, the emergent structure is subjected to object-oriented interpretation, resulting in the recognition of the law of peoples as an unspecified class.