Avoid Long Parameter Lists
If a function requires more than 3-4 parameters, consider: grouping related parameters into an object or struct, using the Builder pattern for complex object construction, or questioning if the function is doing too much. Named parameters or options objects improve readability and allow for future extension without breaking changes.