Skip to content

Commit

Permalink
add-RSPEC-S6874: updated review comments 2
Browse files Browse the repository at this point in the history
  • Loading branch information
navendu-barua-sonarsource committed Jan 30, 2024
1 parent 8ede319 commit ab8d078
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rules/S6874/kubernetes/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Adhering to a naming convention is crucial for maintaining readability and consi

1. **Readability**: Inconsistent naming conventions can make the code harder to read. Developers often expect variables to be in camelCase in Helm charts. When they encounter a variable that doesn't follow this convention, it can disrupt their reading flow, making it harder to understand the code.
2. **Maintainability**: Not following accepted conventions can introduce inconsistent naming, especially when multiple developers work on the same project, leading to technical debt. If a developer needs to update the code, they might have to spend extra time understanding the purpose of each variable. This can lead to slower updates and a higher chance of introducing bugs.
3. **Collaboration**: Inconsistent naming conventions can make it harder for developers to collaborate. If a developer is working on a Helm chart that doesn't follow the camelCase convention, they might have to spend extra time understanding the purpose of each variable. This can lead to slower updates and a higher chance of introducing bugs.

By adhering to the camelCase naming convention, these issues can be avoided and Helm charts will be more efficient and easier to work with.

Expand Down

0 comments on commit ab8d078

Please sign in to comment.