Skip to content

ch4  #3

@dev1week

Description

@dev1week
  1. if문에서 else를 사용하지 말 것
  2. switch를 사용하지 말 것
  3. 클래스 타입 코드 대체와 클래스 코드 이관으로 if문 제거하기
  4. 메서드 전문화로 문제가 있는 일반성 제거하기
  5. 인터페이스에서만 상속 받기 코드 간 커플링 방지
  6. 메서드의 인라인 화 후 삭제후 컴파일 하기를 통한 불필요한 메서드 제거

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions