E D R , A S I H C RSS

Functor

BuildingParserWithJavaλ₯Ό 보닀가 12μž₯μ—μ„œ 처음 μ ‘ν•œ 단어. FunctionObjectλ₯Ό λΆ€λ΄λŠ” 말이닀.
----
from Wikipedia:

A function object, often called a functor, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax. The exact meaning may vary among programming languages. A functor used in this manner in computing bears little relation to the term functor as used in the mathematical field of category theory.

λΉ„μŠ·ν•œ κ΅¬ν˜„μ— λŒ€ν•΄μ„œ OO μͺ½μ—μ„œλŠ” MethodObject 라 λΆ€λ΄κΈ°λ„ 함. (Refactoring에 λ‚˜μ˜΄) κ΅¬ν˜„ λͺ¨μ–‘μƒμœΌλ‘œ 보면 CommandPattern, C++ μ§„μ˜μ—μ„œλŠ” Functor κ°€ 일반적인 ν‘œν˜„.; --1002
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:17
Processing time 0.0075 sec