{"id":352,"date":"2015-08-17T03:16:41","date_gmt":"2015-08-17T03:16:41","guid":{"rendered":"http:\/\/ta.onionmixer.net\/wordpress\/?p=352"},"modified":"2015-08-17T03:16:41","modified_gmt":"2015-08-17T03:16:41","slug":"design-pattern-for-smalltalk-template-method","status":"publish","type":"post","link":"http:\/\/ta.onionmixer.net\/wordpress\/?p=352","title":{"rendered":"Design Pattern for Smalltalk &#8211; Template method"},"content":{"rendered":"<p><a href=\"http:\/\/ta.onionmixer.net\/wordpress\/?attachment_id=353\" rel=\"attachment wp-att-353\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ta.onionmixer.net\/wordpress\/wp-content\/uploads\/2015\/08\/t_Dpsc_chapter05_TempleteMethod_01.jpg\" alt=\"t_Dpsc_chapter05_TempleteMethod_01\" width=\"800\" height=\"515\" class=\"alignnone size-full wp-image-353\" srcset=\"http:\/\/ta.onionmixer.net\/wordpress\/wp-content\/uploads\/2015\/08\/t_Dpsc_chapter05_TempleteMethod_01.jpg 800w, http:\/\/ta.onionmixer.net\/wordpress\/wp-content\/uploads\/2015\/08\/t_Dpsc_chapter05_TempleteMethod_01-480x309.jpg 480w, http:\/\/ta.onionmixer.net\/wordpress\/wp-content\/uploads\/2015\/08\/t_Dpsc_chapter05_TempleteMethod_01-300x193.jpg 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>Template method \ud328\ud134\uc740 \uadf8 \ub0b4\uc6a9\uc744 \ubcf4\uba74 \uc804\uccb4\uc801\uc73c\ub85c \ud504\ub85c\uadf8\ub798\ubc0d \ud560 \ub54c\uc758 \uaddc\uce59\uc774 \ud074\ub798\uc2a4 \uc218\uc900\uc73c\ub85c \ucd95\uc18c\ub41c \uac83\uc774\ub77c\uace0 \ubcf4\uba74 \uc880 \ub354 \uc774\ud574\ud558\uae30 \uc88b\ub2e4. Template method \ud328\ud134\uc5d0 \ub300\ud574 [\ub514\uc790\uc778 \ud328\ud134]\uc5d0\uc11c \uc5b8\uae09\ub418\uc5b4 \uc788\ub4ef\uc774 &#8220;refactoring of generalise&#8221; \ub77c\ub294 \ud45c\ud604\uc774 \uc774 \ud328\ud134\uc5d0 \ub300\ud55c \uc815\ud655\ud55c \ud45c\ud604\uc77c \uac83\uc774\ub2e4. \uae30\uc874\uc758 \ud504\ub85c\uadf8\ub7a8 \ucf54\ub4dc\uc5d0\uc11c \uacf5\ud1b5\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ubd80\ubd84\uc744 \ucd94\ub824\ub0b4\uace0, \uc774\ub807\uac8c \ucd94\ub824\ub0b4\uc9c4 \ubd80\ubd84\uc744 \ucd94\uc0c1\ud074\ub798\uc2a4\uc5d0 \uc815\ub9ac\ud55c\ub2e4. \uadf8\ub9ac\uace0 \ud2b9\ud654\ub418\uc5b4 \uad6c\ud604\ub418\uc5b4\uc57c \ud558\ub294 \ubd80\ubd84\uc744 \ud558\uc704\ud074\ub798\uc2a4\uc5d0 \uad6c\ud604\ud55c\ub2e4. \uc774\ub807\uac8c \uacf5\ud1b5\ubd80\uc640 \ube44\uacf5\ud1b5\ubd80\ub97c \ud074\ub798\uc2a4 \uc218\uc900\uc73c\ub85c \uad6c\ud604\ud558\ub294 \uac83\uc774 Template method\uc758 \uae30\ubcf8\uc774 \ub41c\ub2e4.<\/p>\n<p>\ucd94\uc0c1\ud074\ub798\uc2a4\uc5d0 \uc874\uc7ac\ud558\ub294 Template method \ud074\ub798\uc2a4\uc758 \ub0b4\ubd80\uc5d0\ub294 \ub85c\uc9c1\ub9cc \uc874\uc7ac\ud558\uba70, \ub85c\uc9c1\uc758 \ub0b4\ubd80\uc5d0\ub294 \uba54\uc11c\ub4dc\ub4e4\uc774 \ub098\uc5f4\ub418\uc5b4\uc788\ub2e4. \uc774\ub807\uac8c \ub85c\uc9c1\uc774 \uc548\ucabd\uc5d0\uc11c \uc0ac\uc6a9\ub418\ub294 \uba54\uc11c\ub4dc\uc758 \uad6c\uccb4\uc801 \uad6c\ud604\uc740 \ud558\uc704\ud074\ub798\uc2a4\uc5d0\uc11c \uc774\ub8e8\uc5b4\uc9c4\ub2e4.<\/p>\n<p>Template method\uc0c1\uc704\ud074\ub798\uc2a4\uc5d0\ub294 \ub17c\ub9ac\uc758 \ud750\ub984\ub9cc \uc788\uc744 \ubfd0, \ud750\ub984\uc5d0\uc11c \ud544\uc694\ud55c \uad6c\uccb4\uc801\uc778 \ub3d9\uc791\uc758 \uad6c\ud604\uc744 \ud558\uc704\ud074\ub798\uc2a4\uc5d0\uc11c \uc704\uc784\ud558\ub294 \ud615\ud0dc\uac00 Template method \ud328\ud134\uc774\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Template method \ud328\ud134\uc740 \uadf8 \ub0b4\uc6a9\uc744 \ubcf4\uba74 \uc804\uccb4\uc801\uc73c\ub85c \ud504\ub85c\uadf8\ub798\ubc0d \ud560 \ub54c\uc758 \uaddc\uce59\uc774 \ud074\ub798\uc2a4 \uc218\uc900\uc73c\ub85c \ucd95\uc18c\ub41c \uac83\uc774\ub77c\uace0 \ubcf4\uba74 \uc880 \ub354 \uc774\ud574\ud558\uae30 \uc88b\ub2e4. Template method \ud328\ud134\uc5d0 \ub300\ud574 [\ub514\uc790\uc778 \ud328\ud134]\uc5d0\uc11c \uc5b8\uae09\ub418\uc5b4 \uc788\ub4ef\uc774 &#8220;refactoring of generalise&#8221; \ub77c\ub294 \ud45c\ud604\uc774 \uc774 \ud328\ud134\uc5d0 \ub300\ud55c \uc815\ud655\ud55c \ud45c\ud604\uc77c \uac83\uc774\ub2e4. \uae30\uc874\uc758 \ud504\ub85c\uadf8\ub7a8 \ucf54\ub4dc\uc5d0\uc11c \uacf5\ud1b5\uc801\uc73c\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \ubd80\ubd84\uc744 \ucd94\ub824\ub0b4\uace0, \uc774\ub807\uac8c \ucd94\ub824\ub0b4\uc9c4 \ubd80\ubd84\uc744 \ucd94\uc0c1\ud074\ub798\uc2a4\uc5d0 \uc815\ub9ac\ud55c\ub2e4. \uadf8\ub9ac\uace0 \ud2b9\ud654\ub418\uc5b4 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74],"tags":[],"_links":{"self":[{"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/352"}],"collection":[{"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=352"}],"version-history":[{"count":1,"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":354,"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/352\/revisions\/354"}],"wp:attachment":[{"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ta.onionmixer.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}