一些api可以做二级操作。 #141
zms9110750
started this conversation in
General
Replies: 1 comment
-
|
原本的api就已经满足单一职责原则了,如果使用.Match()返回一个对象反而违背了单一职责原则,同时也增加了额外的学习成本和的底层实现的难度 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
这个操作有点污染代码提示了。
应该分层,例如
这样的api会更好
Beta Was this translation helpful? Give feedback.
All reactions