-
Notifications
You must be signed in to change notification settings - Fork 6
rename environ
module to configuration
#94
Comments
We already have a |
Also, this |
Maybe it is splitting hairs. That's why I mentioned it in a comment elsewhere before opening an issue. I opened the issue because you suggested it. Many things about development is splitting hairs (e.g., upper or lower case letters in symbol names, opening and closing parentheses/brackets on the same or separate line, etc.) in order to have a consistency that engenders maintainability of the code. And, yes, I would also go for renaming I have a pretty clear definition of "environment". It's information that is defined, usually at the OS level, and is available to all programs that operate within it. Programs may alter the environment, but when they do, the information they put there will be available to all programs within that same environment. On the other hand, information that's defined for use by one or more programs is configuration. Programs often use configuration and environment, but in the way this project uses the two of them, environment variables as defaults for missing configuration values, is to update the configuration. I guess that's what really made the point for me, seeing that this module uses the standard Python environment module made it feel like this new module is redundant. Someone not as familiar with the code may at first glance think we're referring strictly to the OS' environment, not a special reconfiguration of the environment specifically for this program. That can be confusing. So, that said, if you disagree with this issue, I really don't mind. I was pointing this out because it seems inconsistent to me and I thought that maybe it was an oversight that needed to be corrected. |
No, I think you make some good points here, and I think clearly you have a more informed opinion than my relatively green one. I need to think about this a little more. Can we agree that any re-naming can wait until we have more or all of the data-fetching processes in place? |
Based on my earlier comment…
config
would also be a good, short name for the module.The text was updated successfully, but these errors were encountered: