Back to all reviewers

Follow language naming conventions

facebook/yoga
Based on 2 comments
C#

Ensure all identifiers (properties, methods, classes, variables) follow the established naming conventions of the programming language being used. This improves code readability, maintainability, and consistency across the codebase.

Naming Conventions C#

Reviewer Prompt

Ensure all identifiers (properties, methods, classes, variables) follow the established naming conventions of the programming language being used. This improves code readability, maintainability, and consistency across the codebase.

For example, in C#:

  • Properties should use PascalCase: MeasureOutput instead of measureOutput
  • Avoid platform-specific naming that reduces portability: use "CSSLayout" instead of "CSSLayout.dll"

Language conventions exist for good reasons - they make code more predictable for other developers familiar with the language, improve IDE support and tooling integration, and maintain consistency with standard libraries and frameworks. When naming conflicts arise, prioritize following the language’s established patterns over personal preferences or porting convenience.

2
Comments Analyzed
C#
Primary Language
Naming Conventions
Category

Source Discussions