dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

Refactor a clean and testable dubbo

Open cheese8 opened this issue 2 years ago • 0 comments

Refactor a clean and testable dubbo, to unify the code style:

  1. use guard clause #10267
  2. no more than 2 depth if else
  3. no more than 2 depth loop
  4. avoid too big method
  5. use final
  6. remove useless pieces
  7. use meaningful names
  8. testcase coverage
  9. small pieces and steps

Please add other things.

cheese8 avatar Jul 13 '22 04:07 cheese8