Skip to content

Generic에 대해 설명하시오. #23

Open

Description

@Glsme

Generic

  • 한번의 구현으로 모든 타입에 대응이 가능한 문법이다.
  • 타입(형식)에 관계없이 한번의 구현으로 모든 타입을 처리하여 함수, 구조체, 클래스, 열거형
 등을 일반화 가능한 코드로 작성할 수 있다.
  • 유연한 코드로 작성이 가능하기 때문에 중복을 피할 수 있다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions