Abstract:
Modern programming languages often provide developers with wide freedom of action under minimal logical constraints. While this accelerates development, it simultaneously increases the likelihood of errors, reduces reliability, and complicates system maintenance. This paper advances the thesis that programmer professionalism is shaped not by unrestricted freedom, but by structure and logical constraints that guide thinking and architectural decisions. Particular attention is given to logic-declarative approaches and the use of logic-based programming languages (such as Prolog and constraint-oriented languages) for knowledge formalization. It is demonstrated that limiting freedom through formal rules does not suppress creativity but, on the contrary, serves as a condition for responsible reasoning and sustainable design. The research methodology includes a literature review, analysis of programming paradigms, and conceptual modeling of logic-based systems. The results show that logic-declarative methods enable knowledge formalization in a form that ensures transparency and safety of artificial intelligence (AI) systems. This approach contributes not only to technical reliability but also to a higher level of trust in intelligent systems applied in socially sensitive domains. The study highlights the importance of logic-declarative methods for education, where they foster a culture of precision and responsibility, as well as for law and AI ethics, where formalized, verifiable, and transparent representations of knowledge are required. Thus, logical constraints in programming should be seen not as a limitation but as a foundation of professional training and a key condition for the safe application of artificial intelligence technologies. JEL: C88, D83, I23
Description:
PELIN, Nicolae. Logic and Constraints in Programming: A Path to Professionalism and Safe AI. Online. In: Proceedings of the 29th International Scientific Conference Competitiveness and Innovation in the Knowledge Economy, Chișinău, Moldova, September 26-27, 2025. București: Editura ASE, 2026, pp. 522-531. ISSN 3100-5527. Disponibil: https://doi.org/10.24818/cike2025.64