You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/01/28 12:58:31 UTC
[GitHub] [rocketmq] dongeforever commented on pull request #3793: [ISSUE #3785] MQClientAPIImpl improvement
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: dev-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org