Ensure all identifiers (variables, methods, classes) adhere to the project's established naming conventions and accurately reflect their purpose. Consistency in naming patterns improves code readability and maintainability across the codebase.
Ensure all identifiers (variables, methods, classes) adhere to the project’s established naming conventions and accurately reflect their purpose. Consistency in naming patterns improves code readability and maintainability across the codebase.
Key principles:
Example from codebase:
# Instead of inconsistent naming:
REACT_NATIVE_DEPS_BUILD_FROM_SOURCE
# Follow the established convention:
RCT_USE_DEP_PREBUILD
# Ensure method names match their actual purpose:
# If method handles release builds, name it appropriately
def podspec_source_download_prebuild_release_tarball()
url = release_tarball_url(@@react_native_version, :release) # not :debug
end
Before introducing new naming patterns, verify they align with existing conventions or update documentation if establishing new standards.
Enter the URL of a public GitHub repository