How do I reduce the number of parameters in this function

后端 未结 0 652
轻奢々
轻奢々 2021-01-16 07:32

I\'ve been reading Clean Code by Robert C. Martin (Uncle Bob) which states that functions should have as few parameters as possible. Ideally zero.

The book s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题