용어 사전 coding 용어 페이지 고차 함수 함수를 값처럼 받아서 쓰거나 새 함수를 돌려주는 함수 higher-order-function #coding#python English version 관련 개념 클로저데코레이터functools.wraps 핵심 아이디어 고차 함수는 함수를 값처럼 받아서 쓰거나 새 함수를 돌려주는 함수. 이 개념은 클로저, 데코레이터, functools.wraps 같은 주변 용어와 함께 쓰일 때 의미가 더 분명해집니다. 이 블로그에서의 역할 Mathbong에서는 python 주제 글에서 이 용어를 반복적으로 참조합니다. 이 개념을 다루는 글 [Python 시리즈 14편] 데코레이터와 고차 함수 이해하기 함수를 인자로 받거나 반환하는 고차 함수 개념과 데코레이터 패턴을 단계적으로 설명한다.[Python Series 14] Understanding Decorators and Higher-Order Functions Learn how to pass functions as arguments and use decorators to add new features to your existing Python code. Includes a gentle introduction to closures and `functools.wraps`.