Exploring Persuasive Explanations to Motivate the Adoption of SOLID Principles
摘要
Adopting the SOLID principles in software engineering has various benefits, including improved code maintainability, easier testing, reduced technical debt, and better team collaboration. These principles provide a foundation for developing scalable, adaptable, and high-quality software systems. However, consistent application in daily work remains challenging, as software developers may perceive the principles as complex, struggle to understand their value, or face time constraints. To address these challenges, we explore how persuasive explanations can motivate developers to adopt SOLID principles in their daily work. In a preliminary user study, we asked software developers to evaluate persuasive explanations following Cialdini’s principles of persuasion. We evaluated responses on effectiveness across varying experience levels to identify the most promising strategies to support long-term adoption of SOLID principles, which can help improve software quality.