chickenlj commented on issue #2433:
URL: https://github.com/apache/dubbo-go/issues/2433#issuecomment-1757255608

   
   > * Using default values as much as possible to reduce configurations. e.g. 
Using `` WithNotRegister()`` instead of  ``WithNotRegister(true)``` if users do 
not hope to register. Dubbo-go would register service by default.
   > * Enumerating concrete configuration options like `WithClusterAvailable` 
for configurations that would not change frequently. Users could know exact 
functionalities that we have provided easily.
   
   I personally totally agree with this kind of API design. Much easier for 
users to understand what will happend just by looking at the name of the method.
   


-- 
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]

Reply via email to