Why you should care
You may think naming conventions are purely cosmetic, and you’re not completely wrong. However, this is a signature of a mature development team who writes good software. If theses simple rules are not applied, what about the rest? Like in English where a sentence starts with a capital letter and ends with a full stop, naming conventions help developers read code easier and faster.
CAST Recommendations
Static code analysis tools can help your development teams identify this code insight, while modern IDEs propose to automatically rename identifiers across a software project.
How we detect
Examples for Java:
– Classes should be in CamelCase: start with an uppercase, first letter of each next word starting with an uppercase
– Methods should be in mixed case: start with lowercase, first letter of each next word starting with an uppercase
About CAST and Highlight’s Code Insights
Over the last 25 years, CAST has leveraged unique knowledge on software quality measurement by analyzing thousands of applications and billions of lines of code. Based on this experience and community standards on programming best practices, Highlight implements hundreds of code insights across 15+ technologies to calculate health factors of a software.