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

リーダブルコード改善:巨大な式を分割する #12

Closed
1 of 2 tasks
2nofa11 opened this issue Aug 7, 2022 · 1 comment
Closed
1 of 2 tasks

リーダブルコード改善:巨大な式を分割する #12

2nofa11 opened this issue Aug 7, 2022 · 1 comment

Comments

@2nofa11
Copy link
Owner

2nofa11 commented Aug 7, 2022

  • 巨大な式は分割する
  • 説明変数を使う
@2nofa11
Copy link
Owner Author

2nofa11 commented Aug 7, 2022

  • 一時変数(中間変数・制御変数)を駆逐する
  • 変数スコープは基本は「const」で!
  • 変数定義の位置を下げる

2nofa11 added a commit that referenced this issue Aug 14, 2022
@2nofa11 2nofa11 closed this as completed Aug 14, 2022
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