Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【2022.8.4】前端的设计理念 #78

Open
lkzwc opened this issue Mar 8, 2023 · 0 comments
Open

【2022.8.4】前端的设计理念 #78

lkzwc opened this issue Mar 8, 2023 · 0 comments

Comments

@lkzwc
Copy link
Owner

lkzwc commented Mar 8, 2023

抽象

  • 大段复制代码好过凌乱的代码
  • 没有抽象好过错误的抽象
  • 解决问题的时候再去抽象
  • 抽象会增加复杂度

API

  • Composable
  • MinAPI
  • MinState
  • UI before API

Name

  • 不缩写
  • 不嵌套
  • 一致性
  • 直觉易懂
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant