TODO WIKIFY OOP에서 '''method'''란, [[클래스,class]]나 [[객체,object]]에 속한 [[서브루틴,subroutine]]이나 function([[펑션,function]] [[함수,function]]). member_function 이라고도 함.[* WtEn:method#Noun] Sub: [[정적메소드,static_method]] =정적메소드,static_method =,static_method 정적메소드 static_method { static method ''[[Date(2023-08-09T03:51:39)]]: not in wten ... WtEn:static_method = https://en.wiktionary.org/wiki/static_method'' https://foldoc.org/static+method ... Google:정적메소드 Naver:정적메소드 ... Google:static+method Naver:static+method } [[클래스메소드,class_method]] { @classmethod 데코레이터 MKLINK [[클래스,class]] [[class_object]] { https://foldoc.org/class+object } [[클래스변수,class_variable]] [[메소드,method]] https://foldoc.org/class+method ... Google:class+method Naver:class+method } [[인스턴스메소드,instance_method]] { 개별 [[인스턴스,instance]]와 .... MKLINK [[인스턴스변수,instance_variable]] ... Google:instance+method Naver:instance+method } [[추상메소드,abstract_method]] [[object_method]] { https://foldoc.org/object+method ... Google:object+method Naver:object+method } [[가상메소드,virtual_method]] { Sub: virtual_method_table /// pagename? 간단하게 vtable? virtual_table ? ... Srch:vtable Srch:VMT { Compare: branch_table = jump_table { https://ko.wikipedia.org/wiki/분기_테이블 } WpKo:가상_메소드_테이블 "virtual_method_table, virtual_function_table, virtual_call_table, 디스패치테이블, vtable, 또는 vftable" // VMT VFT VCT dispatch_table // rel: [[표,table]] [[테이블,table]] [[디스패치,dispatch]] } MKLINK [[가상함수,virtual_function]] - syn? { https://ko.wikipedia.org/wiki/가상_함수 } } [[method_chaining]] =,method_chaining . method_chaining - w { [[WtEn:method_chaining]] ? x [[Date(2023-09-30T07:56:00)]] WpSp:method_chaining ? x [[Date(2023-09-30T07:56:00)]] WpEn:method_chaining ? o { [[syntactic_sugar]]의 일종 } MKL [[concatenative_programming]] "method chaining" Naver:"method chaining" Bing:"method chaining" Bing:"메소드 체이닝" ? Ggl:"method chaining" Ggl:"메소드 연쇄" ? Ggl:"메서드 체이닝" } // method chaining magic_method =,magic_method . magic_method dunder_method =,dunder_method . dunder_method { [[파이썬,Python]]용어? dunder는 물론 double underscore - WtEn:dunder {{{ __new__(cls, ...) # class의 새 instance를 만들고 return. __init__(self, ...) # __new__로 instance가 만들어진 후, object를 초기화. __repr__(self) # should return an unambiguous string representation of the object __str__(self) # should return a user-friendly string representation of the object # comparison __eq__(self, other) # == equality __ne__(self, other) # != inequality __lt__(self, other) # < __le__(self, other) # <= __gt__(self, other) # > __ge__(self, other) # >= # arithmetic and bitwise __add__(self, other) # addition + __sub__(self, other) # subtraction - __mul__(self, other) # multiplication * __truediv__(self, other) # division / __floordiv__(self, other) # floor_division // __mod__(self, other) # modulus % __pow__(self, other[, modulo]) # power ** __and__(self, other) # bitwise_and & __invert__(self) # bitwise_inversion __or__(self, other) # or_operator or __xor__(self, other) # bitwise_or_operator ^ 이하 생략 시간x }}} Ref. https://medium.com/@ramanbazhanau/mastering-advanced-oop-concepts-in-python-advanced-class-features-a8790fa2b5a2 ... Ggl:"Magic methods in Python" } ADDHERE ADDHERE ADDHERE ---- MKLINK [[펑션,function]] '''method''' = [[member_function]].[* WtEn:member_function#Synonyms] [[호출,call]] [[invocation]] / invoke [[디스패치,dispatch]] { [[polymorphism]]일 때 [[polymorphic_operation]]을 어떻게 할지? [[method_overriding]]된 경우 static_dispatch : 컴파일 시점(compile_time)에 어떤 메소드를 호출할지 결정됨 dynamic_dispatch : 실행 시점(runtmie)에 어떤 메소드를 호출할지 결정됨 late_binding = dynamic_binding 과 다른 점 TBW (see wpen) WpKo:동적_디스패치 = https://ko.wikipedia.org/wiki/동적_디스패치 ... Google:static+vs+dynamic+dispatch } ---- 같은 영단어 method, 다른 뜻 [[방법,method]] ? { [[iterative_method]] input_method_editor { https://en.wiktionary.org/wiki/input_method_editor } Rel [[방법론,methodology]] [[formal_method]] =,formal_method . formal_method { WtEn:formal_method x 2024-04 '''formal method''' 정형|형식 (적) 기법|방법|수법...? REL specification([[명세,specification]]) esp formal_specification - https://en.wikipedia.org/wiki/Formal_specification [[형식언어,formal_language]] [[타입체계,type_system]] bmk en https://formalmethods.fandom.com/wiki/Formal_Methods_Wiki https://ko.wikipedia.org/wiki/정형_기법 https://en.wikipedia.org/wiki/Formal_methods } // formal method ... Ggl:"formal method" Naver:"formal method" Bing:"formal method" } ... 하고 보니 ime의 경우는 보통 방식으로 번역. // [[방식,method]] [[input_method]] =,input_method . input_method (글자/문자) [[입력,input]] 방법/방식. 대체적으로 [[키보드,keyboard]]의 [[키,key]](글쇠)를 눌러서(typing해서) 하게 됨. (기타 필기 인식^^handwriting recognition (HWR) aka handwritten text recognition (HTR)[* WpKo:필기_인식 = https://ko.wikipedia.org/wiki/필기_인식][* [[WpEn:Handwriting_recognition]] = https://en.wikipedia.org/wiki/Handwriting_recognition]^^, 음성 인식^^speech recognition, speech-to-text(STT)[* [[WpKo:음성_인식]]][* WpEn:Speech_recognition]^^, virtual keyboard(= on-screen keyboard)^^[[virtual_keyboard]]^^, OCR^^[* WpEn:Optical_character_recognition]^^, etc.) input_method_editor IME =,input_method_editor =,IME . input method editor IME 입력 방법|방식 편집기|관리자 ... 혹은 간단히 '입력기' Naver:입력기 Ggl:입력기 OS/window_system/desktop_environment 정도 레벨에서 keystroke가 만들어 낸 [[keyboard_input]] [[신호,signal]]를 받아 [[keyboard_layout]](사용자의 [[locale]] =,locale . locale { '''locale''' 로캘 ? QQQ local(특정 지역...)과 뜻/spell 모두 비슷해서 어원이 같을 듯 한데? WtEn:locale = https://en.wiktionary.org/wiki/locale WpKo:로케일 = https://ko.wikipedia.org/wiki/로케일 [[WpEn:Locale_(computer_software)]] = https://en.wikipedia.org/wiki/Locale_(computer_software) = https://en.wikipedia.org/wiki/Locale_%28computer_software%29 NdEn:locale Ggl:locale Up: i18n l10n WpEn:i18n } 등에 따라 설정된 일종의 [[모드,mode]])을 고려해서 [[사용자,user]]의 입력 신호를 character/code_point/...로 적절히 변환하여 program/process로 전달하는 프로그램 이름? ... Ndict:"input method editor" Ggl:"input method editor" [[Namu:입력%20방식%20편집기]] = https://namu.wiki/w/입력%20방식%20편집기 ---- Twins: https://foldoc.org/method