hardkoding
Hardcoding refers to the practice of embedding data directly into source code rather than obtaining it from external sources at runtime. This data can include credentials, API endpoints, file paths, numeric constants, or feature flags. While it can simplify a quick script or prototype, hardcoding reduces flexibility, complicates maintenance, and can introduce security risks. It is typically contrasted with retrieving configuration from environment variables, configuration files, command-line arguments, or dynamic lookups from services or databases.
Common examples include a database password embedded in source code, a fixed API URL, a hardcoded file
Best practices encourage externalizing configuration and secrets. Use environment variables, configuration files, or secure secret management