dongeforever commented on pull request #3793: URL: https://github.com/apache/rocketmq/pull/3793#issuecomment-1024190310
@Kvicii It is better to keep the same code style in MQClientAPIImpl. Of course, the switch style has disadvantages such as excessive nesting, but it also has advantages. For the RPC layer, the switch style is more readable to handle different kinds of response code and easy to extend further codes. -- 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]
