Skip to content

Conversation

@kuu723
Copy link

@kuu723 kuu723 commented Nov 12, 2019

Step1:
챔피언 이름 찾기.

@kuu723 kuu723 changed the title 챔피언 이름 찾기 Tutorial 1 Nov 12, 2019
//}

let decoder = JSONDecoder()
if let champsData = champsData,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unwrapping(i.e. if let, guard let 등)을 최소화 하여 코드를 작성해보시면 더 좋은 인지복잡도점수를 얻을 것 같습니다.
훈련의 차원에서

  1. 현재 인지복잡도 점수를 계산해보고
  2. 점수를 1점씩 줄이는 시도를 계속 하면
    도움될 것 같습니다.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

계산이 귀찮으면 if, for등으로 시작되는 코드블럭을 최소화 한다고 생각하셔도 됩니다.

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

Successfully merging this pull request may close these issues.

2 participants