garydgregory commented on PR #773: URL: https://github.com/apache/httpcomponents-client/pull/773#issuecomment-3715880211
FWIW, I like the concept in general that system properties are the escape hatch of last resort. I see the hierarchy in general as: My Java code overrides the default behavior of objects constructed (using constructors, methods, and builders). My code can take system properties into account when calling a library's APIs. This let's my app decide whether or not to override what. System properties provide default values for objects in the library. If I don't specify a value, it comes from a library's defaults which itself can take its value from a system property. While defaults can be overriden from system properties, it should still be the case that my app can call the right APIs and hard-wire what I want. My 2c. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
