garydgregory commented on issue #147: Time values URL: https://github.com/apache/httpcomponents-core/pull/147#issuecomment-529212034 > > Please keep the methods in alphabetical order (IOW, do not move them around.) > > Why is that? Is there any rational reason for keeping methods in alphabetical order? Some methods fulfill a common purpose and are a port of the the same contract such as `#hasCode` and `#equals`. Those methods should be kept together. For me, AB order is the simplest ordering. When I am in the plain text editor, I can find things easily; when I am in an IDE, I have the IDE set to sort methods in AB order; everything matches up. I never have to "search" for a method, it is always in an obvious place in a file. Anything beyond that invites more bike-shedding. You want to "group" methods together? Are the methods in each group in... AB order? What if a method belongs in more than one group? What group do you put the method in? Do the method groups come at the end or the beginning of a file? Why? How are the groups sorted? On and on. I never want to have to discuss this mess. In short, AB order follow the KISS principle.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
