ok2c commented on PR #679:
URL: 
https://github.com/apache/httpcomponents-client/pull/679#issuecomment-3106676727

   @rschmitt 
   1. I see `Optional` being abused on my day project to produce hideous 
results. In this particular instance however I felt the use of optional return 
type was justified as the intent of the interface call was to optionally 
trigger request re-execution. But conceptually I fully agree.
   2. I do not understand your take on  making API changes, especially given 
there were no breaking changes in this very change-set. You seem to be averse 
to the idea of doing a major release that would enable us to get rid of 
deprecated APIs and various `default` methods in interfaces, drop interfaces 
and primitives now provided by JRE that we have accumulated in the past 10 
years. This I understand. But we cannot stop making gradual API improvements 
simply because that entails some extra work to upgrade. Otherwise the project 
will stagnate and fail. This I do not understand.
   3. I do not understand your aversion to the use of `IOException`. HC is a 
low level transport library, after all. The problem that checked exceptions do 
not mix well with lambdas is a problem with Java lambdas, not our APIs. 


-- 
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: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to