ãã®èšäºã¯ãããªããžãã¿ãŒã³ã«ã€ããŠã®è°è«ã®äžã§äœæããŸããããå
¬éããŸããã§ããã
Domain Driven Designãèšåãããããã«ã圌ãã¯ãããç解ãããšæããOOPã¹ã¿ã€ã«ã§ã®èšèšãšããã°ã©ãã³ã°ã®å¿
èŠæ§ã«ç°è°ãå±ãã人ã¯ããªãããã§ããã ããããããã§ãæéã®çµéãšãšãã«ã誀解ã«åºäŒããŸããã ããã¯ãçŽç²ã«æŽå²çãªçè«äžã®èšäºã«ãªããŸãã ãã¡ããããããã¯ã®å
šå®¹ãææ¡ããããšãããšãã ããããããã¯ãããã°ãããããèªã¿ãã©ã®ååãšã«ãŒã«ãèªåã«åºå·ãããããã©ã€ããªãšã»ã«ã³ããªãéžæã§ããªãè¥ãéçºè
ãžã®ã¡ãã»ãŒãžã§ãã
å€ãã®äººã«ãšã£ãŠãã®ãããã¯ã®ã¿ã€ãã«ã¯éåžžã«ç©è°ãããããŸãïŒãããŠæå³çã«æçºçã§ãããããžãã¹ã§ã¯:)ïŒã ããã§ããããã§ãããæ£åœåããããã°ã©ãã³ã°ãã©ãã€ã ããã©ãã€ã ãšåŒã°ããè³æ ŒãåŸãããã«å¿
èŠãªããããã£ãç解ããããšããŸãã
ããªããæãã«èªããã©ããã ãå°ããŸã-ã³ã¡ã³ãã¯æå¶ãããŸããã
ããã€ãã¯ãã©ãã€ã ã«ã€ããŠäœãæããŠãããŸããïŒãããã°ã©ãã³ã°ãã©ãã€ã ããšããçšèªã¯ããããŒãããã€ãïŒ '' RWããã€ãã '' [Http://www.ias.ac.in/resonance/May2005/pdf/May2005Classics.pdfããã°ã©ãã³ã°ã®ãã©ãã€ã ] '' ACMã®ã³ãã¥ãã±ãŒã·ã§ã³ ' 'ã22ïŒ8ïŒïŒ455-460ã1979ãæ¬ã®ãã·ã¢èªèš³ãåç
§ïŒãã¥ãŒãªã³ã°è³åè³è
ã®æåã®20幎ïŒ1966-1985幎ïŒãã¢ã¹ã¯ã¯ïŒMIRã1993幎ïŒã 1979幎ã®åœŒã®è¬çŸ©ã§ã¯ã圌ã¯æ¬¡ã®ããšã«ã€ããŠèªã£ãŠããŸãã
ããã°ã©ãã³ã°ãã©ãã€ã ã®ããç¥ãããäŸã¯ãæ§é ããã°ã©ãã³ã°ã§ããããã¯ãããã°ã©ãã³ã°æ¹æ³è«ã®äž»èŠãªãã©ãã€ã ãšæãããŸãã 2ã€ã®ãã§ãŒãºã«åãããŠããŸãã æåã®ãã§ãŒãºã§ãããããããŠã³èšèšã§ã¯ãåé¡ã¯å°æ°ã®åçŽãªå¯åé¡ã«åå²ãããŸãã ãã®æ®µéçãªéå±€çå解ã¯ã匷調衚瀺ããããµãåé¡ãçºçãããŸã§ç¶ç¶ããŸãã æ§é ããã°ã©ãã³ã°ãã©ãã€ã ã®ç¬¬2ãã§ãŒãºã§ã¯ãç¹å®ã®ãªããžã§ã¯ããšæ©èœãããããæœè±¡çãªãªããžã§ã¯ããšæ©èœãžãšäžåãã«äœæ¥ããå¿
èŠãããããããããŠã³èšèšã§äœæãããã¢ãžã¥ãŒã«ã®ã©ãã§ã䜿çšãããŸãã ããããæ§é ããã°ã©ãã³ã°ã®ãã©ãã€ã ã¯æ®éçã§ã¯ãããŸããã 圌女ã®æãç±å¿ãªãã£ãã§ã³ããŒã§ãããäžäººã§ããã ãã§ã¯ãã¹ãŠã®è€éãªåé¡ãç°¡åã«ããã®ã«ååã§ã¯ãªããšèªããã§ãããã ããç¹æ®ãªã¿ã€ãã®ä»ã®é«ã¬ãã«ã®ãã©ãã€ã ã¯åŒãç¶ãéèŠã§ãã ïŒããã¯æ£ç¢ºãªç¿»èš³ã§ã¯ãããŸããããRãFloydã®è¬çŸ©ã«åºã¥ãèè
ã®ç·šéã§ãããå¯èœãªéã圌ã®èšèã«å¿ å®ã§ããèšèé£ãã¯å€æŽãããRãFloydã®äž»èŠãªã¢ã€ãã¢ãšåœŒã®æ確ãªãã¬ãŒã³ããŒã·ã§ã³ã匷調ããããã«ã®ã¿é
眮ãããŸãããïŒ
圌ã¯ããã«åçããã°ã©ãã³ã°ãšè«çããã°ã©ãã³ã°ã«èšåãããããããã©ãã€ã ãšãåŒãã§ããŸãã ãããããããã®æ©èœã¯ãããããå°éåéããéçºãããããã€ãã®æåããã¢ã«ãŽãªãºã ãèŠã€ããã察å¿ãããœãããŠã§ã¢ã·ã¹ãã ãæ§ç¯ãããããšã§ãã 圌ã¯ããã«ãããã°ã©ãã³ã°èšèªã¯ããã°ã©ãã³ã°ãã©ãã€ã ããµããŒãããå¿
èŠããããšè¿°ã¹ãŠããŸãã åæã«ãæ§é ããã°ã©ãã³ã°ã®ãã©ãã€ã ã¯ããé«ãã¬ãã«ã®ãã©ãã€ã ã§ããããšã瀺ããŠããŸãã
ãæ§é ããã°ã©ãã³ã°ãã©ãã€ã ããããé«ãã¬ãã«ã®æœè±¡åã®ãã©ãã€ã ãå¶æ°ãã¯ãèšèªã®éå±€ã®æ§ç¯ã§ãããæé«ã¬ãã«ã®èšèªã®ããã°ã©ã ã¯æœè±¡ãªããžã§ã¯ãã§åäœãããããã次ã®äžäœã®èšèªã®ããã°ã©ã ã«ç¿»èš³ããŸãã¬ãã«ã
é«ã¬ãã«ã®ãã©ãã€ã ã®æ©èœçŸæç¹ã§ã¯ãèãããããã¹ãŠã®ãã©ãã€ã ã¯ããœãããŠã§ã¢ãäœæããéã«èãããã代æ¿æ¡ãšåãã¬ãã«ã«ãããšèããåŸåããããŸãã ããããããã¯ããã§ã¯ãããŸããã ãã©ãã€ã ã¯äº€æã§ããŸããã
ã芧ã®ããã«ãRãããã€ãã¯ããã©ãã€ã ãããé«ã¬ãã«ã§ããå°éçãªãã®ã«åºå¥ããŸããã ãã©ãã€ã ã®ã©ã®æ©èœããããããããé«ã¬ãã«ã§ãããšèšãããšãã§ããŸããïŒ ãã¡ãããããã¯ããŸããŸãªå®¢èŠ³çãªã¿ã¹ã¯ãžã®é©çšã®å¯èœæ§ã§ãã ãããããã©ãã€ã ãããŸããŸãªäž»é¡ã®ã¿ã¹ã¯ã«é©çšã§ããã®ã¯ãªãã§ããïŒ ãã¡ãããããã§ã®åé¡ã¯å®¢èŠ³çãªåé¡ã®ç¹åŸŽã§ã¯ãªããããããã®ã¢ãããŒãã§è§£æ±ºã§ããŸãã ã¢ã«ãŽãªãºã ã1ã€ãŸãã¯å¥ã®ç¹æ®ãªæ¹æ³ã§äœæããããšãææ¡ãããã¹ãŠã®ãã©ãã€ã ã¯ããã©ãã€ã ã§ã¯ãããŸãããããã¯ãé«ã¬ãã«ã®ãã©ãã€ã ã®ãã¬ãŒã ã¯ãŒã¯å
ã®ç¹å¥ãªã¢ãããŒãã§ãã
ãããŠãé«ã¬ãã«ã®ãã©ãã€ã ã¯2ã€ã ãã§ããæ§é ããã°ã©ãã³ã°ãšãããé«ã¬ãã«ã®ãªããžã§ã¯ãæåããã°ã©ãã³ã°ã§ãã ããã«ãé«ã¬ãã«ã®ããã2ã€ã®ãã©ãã€ã ã¯äºãã«ççŸããäœã¬ãã«ã§ã¯ãã¢ã«ãŽãªãºã ã®æ§ç¯ã¬ãã«ãäžèŽããŸãã ãããŠãè«ççãåçãæ©èœçãªã©ã®æ¢ã«ã¢ãããŒãïŒäœã¬ãã«ã®ãã©ãã€ã ïŒã¯ãæ§é ããã°ã©ãã³ã°ãã©ãã€ã ã®ãã¬ãŒã ã¯ãŒã¯å
ã§äœ¿çšãããå¯èœæ§ããããåºçŸããããã€ãã®å°éåé-ã¢ã¹ãã¯ãããšãŒãžã§ã³ãæåãã€ãã³ãæåã¯ããªããžã§ã¯ãæåããã°ã©ãã³ã°ãã©ãã€ã ã®ãã¬ãŒã ã¯ãŒã¯å
ã§äœ¿çšãããŸãã ãããã£ãŠãããã¯ããã°ã©ããŒã1ã€ãŸãã¯2ã€ã®é«ã¬ãã«ã®ãã©ãã€ã ãç¥ã£ãŠããã ãã§ãªããããå°éçãªäœã¬ãã«ã®åé¡ã解決ãããšãã«ä»ã®ã¢ãããŒãã®ç¥èã圹ç«ã€ããšãæå³ããŸãã ãããåæã«ããœãããŠã§ã¢ãèšèšããªããã°ãªããªããšãã¯ãããé«ãã¬ãã«ã®ãã©ãã€ã ããå§ããå¿
èŠã«å¿ããŠããäœãã¬ãã«ã®ãã©ãã€ã ã«ç§»è¡ããå¿
èŠããããŸãã ããããã©ã®ååãåªå
ããããéžæãããšããåé¡ãçããå Žåãäœã¬ãã«ã®ãã©ãã€ã ã®ååãé«ã¬ãã«ã®ãã©ãã€ã ã®ååããåªå
ãããããšã¯ãããŸããã ãã®ãããããšãã°ãæ§é ããã°ã©ãã³ã°ã®ååã¯ãªããžã§ã¯ãæåããã°ã©ãã³ã°ã®ååãæãªããã®ã§ã¯ãããŸããããŸããæ©èœçããã°ã©ãã³ã°ãŸãã¯è«çããã°ã©ãã³ã°ã®ååã¯æ§é ããã°ã©ãã³ã°ã®ååã«éåããŠã¯ãªããŸããã å¯äžã®äŸå€ã¯ãã¢ã«ãŽãªãºã ã®ããã©ãŒãã³ã¹ã§ããããã¯ãã³ã³ãã€ã©ãŒã«ããã³ãŒãæé©åã®åé¡ã§ãã ããããå®ç§ãªã³ã³ãã€ã©ã¯åžžã«æ§ç¯ã§ããããã§ã¯ãªããé«ã¬ãã«ã®ãã©ãã€ã ã®è§£éã¯äœã¬ãã«ã®ãã©ãã€ã ããã確ãã«è€éã§ãããããé«ã¬ãã«ã®ãã©ãã€ã ã®ååãç¡èŠããªããã°ãªããªãå ŽåããããŸãã
ããããç§ãã¡ã®è³ªåã«æ»ããŸãããïŒãã©ãã€ã ãããŸããŸãªäž»é¡ã®ã¿ã¹ã¯ã«é©çšã§ããã®ã¯ãªãã§ããïŒ ããããããã«çããããã«ã¯ãæŽå²çãªé 足ãããå¿
èŠããããŸãã
æ§é ããã°ã©ãã³ã°ã®ãã©ãã€ã ã®åºç€E.ãã€ã¯ã¹ãã©ã1965幎ã«å ±åããåŸãGOTOæŒç®åã®æåŠãæ£åœåããåŸãæ§é ããã°ã©ãã³ã°ã«é¢ããã¢ã€ãã¢ãçãŸããããšãç¥ã£ãŠããŸãã ããã°ã©ã ãæ§é åãããŠããªããã®ïŒã¹ãã²ããã£ã³ãŒãïŒã«å€ããã®ã¯ãã®æŒç®åã§ããããã€ã¯ã¹ãã©ã¯ãã®æŒç®åã䜿çšããã«ããã°ã©ã ãèšè¿°ã§ããããšã蚌æããŸããããã®çµæãããã°ã©ã ã¯æ§é çã«ãªããŸãã
ããããçè«ã¯äžã€ã®ããšã§ãããå®è·µã¯å¥ã®ããšã§ãã ãã®æå³ã§ã1975幎ãŸã§ã«ç¶æ³ãã©ããªã£ãŠããããèæ
®ããããšã¯èå³æ·±ãããšã§ãã ããã¯ãEãYodanã®æ¬ïŒ[http://www.az-design.ru/index.shtml?Projects&AzBook&src/005/02YE000 Yodan E.ããã°ã©ã ã®æ§é èšèšãšæ§ç¯ã1975幎]ïŒã«æ確ã«èŠãããŸãã ãããæ€èšããããšã¯éèŠã§ãã30幎以äžçµã£ãä»ããã®ååã¯ãã§ã«ããç¥ãããåçºèŠãããæ°ããã©ã³ã¯ã«åŒãäžããããŠããããã§ãã ããããåæã«ãæŽå²çèæ¯ã¯å€±ããããããã®ååã®éèŠæ§ã®éå±€ã¯ã第äžã®ãã®ãšç¬¬äºã®ãã®ã§ãã ãã®äžå®åœ¢ã®ç¶æ³ã¯ãããã°ã©ãã³ã°ã®çŸåšã®ç¶æ
ãéåžžã«ãã説æããŠããŸãã
ãããããã®åŸã©ããªããŸãããïŒ Yodanã説æããããã«ãããã¯ãã¹ãŠãè¯ãããã°ã©ã ãæžãããšã¯ã©ãããæå³ã§ããïŒããšãã質åã«å¯Ÿããçãããå§ãŸããŸãã ããã«ãé«ã¬ãã«ã®ããã°ã©ãã³ã°ãã©ãã€ã ãçããã¹ã質åã®æåã®åºæºããããŸãã ãã®è³ªåã«çŽæ¥çããªãããããã°ã©ã ã®èå³æ·±ãç¹æ§ãååŸããæ¹æ³ãæããŠãããã®ã§ããã°ãäœã¬ãã«ã®ãã©ãã€ã ãã€ãŸãããã°ã©ãã³ã°ãžã®ã¢ãããŒããæ±ã£ãŠããŸãã
ããã°ã©ãã³ã°ã®å€æãã«ã¯ãããã°ã©ã ã®äœæé床ã§ããã°ã©ããŒãè©äŸ¡ãããšããã¢ãããŒãããããŸããã ããã¯ã圌ãè¯ãããã°ã©ã ãæžããŠãããšããããšã§ããïŒ åœŒã¯ç®¡çã®ç¹å¥ãªæ°è³ªãšå°æ¬ã楜ããã§ããŸããïŒ æåŸã®è³ªåãžã®çããè¯å®çã§ããå Žåãããã°ã©ãã³ã°ã®æ¹åã«é¢ãããã¹ãŠã®è³ªåã¯ãåŠè¡çé¢å¿ã®å¯Ÿè±¡ãšãªãå¯èœæ§ãé«ããªããŸãã ããããçµå¶è
ã¯ãäžéšã®ã¹ãŒããŒããã°ã©ããŒãããã°ã©ã ãéåžžã«è¿
éã«äœæããããéåžžã«å¹ççãªããã°ã©ã ãäœæãããããããšã«ãæ°ä»ãå ŽåããããŸããããããã®ããã°ã©ã ã¯æªåœ¢æã®ãŸãŸã§ãããç解ãä¿å®ããŸãã¯å€æŽã§ããŸããã ãŸããåŸè
ãæéãããããŸãã
泚ç®ã«å€ãããããã°ã©ããŒéã®ããªãç¹åŸŽçãªè«äºïŒ
*ããã°ã©ãAïŒãç§ã®ããã°ã©ã ã¯ããªãã®ããã°ã©ã ã®10åé«éã§ãããå¿
èŠãªã¡ã¢ãªã¯3åå°ãªãïŒã
*ããã°ã©ããŒBïŒãã¯ãããããããªãã®ããã°ã©ã ã¯æ©èœããŠããããç§ã®ãã®ã¯æ©èœããŠããŸãïŒã
ããããããã°ã©ã ã¯åžžã«ããè€éã«ãªã£ãŠãããããããã°ã©ã ãæ©èœããã ãã§ã¯äžååã§ãã ããã°ã©ã ãšããã°ã©ãã®æ£ããåäœã確èªããç¹å®ã®æ¹æ³ãå¿
èŠã§ãã ããã«ãããã¯ããã°ã©ã ããã¹ãããã®ã§ã¯ãªããå
éšçµç¹ãšããæå³ã§ããã°ã©ã ã®æ£åœæ§ãæ€èšŒããããã®äœç³»çãªæé ãå®è¡ããŠããŸãã ã€ãŸããããã§ããçŸä»£ã®èšèªã§è©±ããšã圌ãã¯ã³ãŒãæ¹èšïŒã³ãŒãã¬ãã¥ãŒïŒã«ã€ããŠè©±ããŸããã
ããã«ãããã§ãããã°ã©ã ã®æè»æ§ãã€ãŸãå€æŽãæ¡åŒµãä¿®æ£ã®åçŽãã«ã€ããŠè©±ããŸããã ãããè¡ãã«ã¯ãç¹å®ã®çš®é¡ã®è³ªåã«åžžã«çããå¿
èŠããããŸãã ããã®ããŒãã«ãæ¡åŒµãããå Žåã¯ã©ããªããŸããïŒããããã€ãæ°ããå€æŽããã°ã©ã ãå®çŸ©ãããå Žåã¯ã©ããªããŸããïŒããããã®ãããªåºåã®ãã©ãŒããããå€æŽããå¿
èŠãããå Žåã¯ã©ããªããŸããïŒããã誰ããå¥ã®æ¹æ³ã§ããã°ã©ã ã«ããŒã¿ãå
¥åããããšã«æ±ºããŸããïŒã
ãŸããã€ã³ã¿ãŒãã§ãŒã¹ä»æ§ã®éèŠæ§ã«ã€ããŠã話ããŸããã åã¢ãžã¥ãŒã«ã§å®è£
ããå¿
èŠãããå
¥åãé¢æ°ãããã³åºåã®ä»æ§ã«å¯Ÿããæ£åŒãªã¢ãããŒãã
ããã«ãã¢ãžã¥ãŒã«ã®ãµã€ãºãšäžå€æ§ã«éç¹ã眮ãããŸããã ããã«ãã¢ãžã¥ãŒã«ã®äžå€æ§ã«é¢ããŠã¯ãã¢ãžã¥ãŒã«å
šäœã§ã¯ãªããåã
ã®èŠå ã®å²ãåœãŠãèæ
®ããŸããã
1.ããã°ã©ã ã®è«çæ§é ãããªãã¡ ã¢ã«ãŽãªãºã ã ããã°ã©ã å
šäœãäœããã®ç¹å¥ãªã¢ãããŒãã«äŸåããŠããå Žåãã¢ã«ãŽãªãºã ãå€æŽãããšãã«å€æŽãå ããå¿
èŠãããã¢ãžã¥ãŒã«ã®æ°ã¯ïŒ
2.ã¢ãžã¥ãŒã«ã®åŒæ°ããŸãã¯ãã©ã¡ãŒã¿ãŒã ã€ãŸã ã€ã³ã¿ãŒãã§ã€ã¹ä»æ§ã®å€æŽ
3.å
éšããŒãã«å€æ°ãšå®æ°ã å€ãã®ã¢ãžã¥ãŒã«ã¯å
±éã®ããŒãã«ã«äŸåããŠããŸãããã®ãããªããŒãã«ã®æ§é ãå€æŽããããšãã¢ãžã¥ãŒã«ãå€æŽãããããšãäºæ³ãããŸãã
4.ããŒã¿ããŒã¹ã®æ§é ãšåœ¢åŒã 倧éšåã¯ããã®äŸåé¢ä¿ã¯ãåè¿°ã®äžè¬çãªå€æ°ãããŒãã«ãžã®äŸåé¢ä¿ã«äŒŒãŠããŸãããå®éçãªèŠ³ç¹ããã¯ãããã°ã©ã ãšã¯ç¡é¢ä¿ã«ããŒã¿ããŒã¹ãæ€èšããæ¹ã䟿å©ã§ãã
5.ããã°ã©ã 管çã®ã¢ãžã¥ãŒã«æ§é ã äžéšã®äººã
ã¯ãå®éã«ãããã©ã®ããã«äœ¿çšãããããèããã«ã¢ãžã¥ãŒã«ãæžããŸãã ãã ããèŠä»¶ãå€æŽãããå Žåã ã¢ãžã¥ãŒã«ã®è«çæ§é ã®ã©ã®éšåãå€æŽããå¿
èŠããããŸããïŒ
ãããããã³ãã®ä»ã®å€ãã®åŽé¢ïŒããã§ã¯èæ
®ããŠããŸããïŒã¯äžè¬ã«ãæ§é ããã°ã©ãã³ã°ã®ã¢ã€ãã¢ãå®åŒåããŸãã ãããã®åŽé¢ã«é
æ
®ããããšã§ãæ§é ããã°ã©ãã³ã°ã¯é«ã¬ãã«ã®ãã©ãã€ã ã«ãªããŸãã
ãªããžã§ã¯ãæåããã°ã©ãã³ã°ãã©ãã€ã ã®åºç€ã芧ã®ãšãããåªããããã°ã©ã ãç·šæãããã¹ãŠã®ååã¯ãæ§é ããã°ã©ãã³ã°ã§èæ
®ãããŠããŸãã åªããããã°ã©ã ãäœæããããã®å¥ã®ããŸãã¯ãããŸã§ç¥ãããŠããªãã£ãååã®ã°ã«ãŒãã®åºçŸã¯ããã©ãã€ã ãå€ããããšãã§ããŸããïŒ ãã æ§é åãããããã°ã©ã ãæžãæ¹æ³ãšã€ããªãã®ãŒãæ¡å€§ããã ãã§ãã æ§é ããã°ã©ãã³ã°ã®ãã©ãã€ã ã
ããããé«ã¬ãã«ã®ãã©ãã€ã ãåªããããã°ã©ã ã®äœææ¹æ³ã®è³ªåã«çããããã«èšèšãããŠãããæ°ããæè¡çææ³ã®åºçŸããŸãã¯æ°ããèŠå ã®æ€èšããæ§é ããã°ã©ãã³ã°ã®å¢çãè¶ããªãå ŽåïŒæè¡ãèŠå ã®æ°ã«é¢ä¿ãªããæ§é çãªãŸãŸã§ããããïŒããã§ã¯ããã®ãã©ãã€ã ã®å¢çãè¶ããããšãã§ããŸãã å®éãäžè¬çãªç§åŠããç¥ãããŠããããã«ããã©ãã€ã ã¯ããã»ã©éãå€åããŸããã å
è¡ãããã©ãã€ã ããå®éã«ã¯ãå©çšå¯èœãªçè«ç芳ç¹ãããçºçããçŸè±¡ãåã«èª¬æã§ããªãå Žåãç§åŠé©åœã¯ãã£ãã«èµ·ãããŸããã ãã©ãã€ã ãæ§é ãããªããžã§ã¯ãæåã«å€ãããšãããåæ§ã®ç¶æ³ããããŸãã
ãªããžã§ã¯ãæåã®ãã©ãã€ã ãåºçŸããçç±ã¯ããŸããŸãè€éãªããã°ã©ã ãäœæããå¿
èŠãããããšã§ããããšããã§ã«èªèãããŠããŸãããæ§é ããã°ã©ãã³ã°ã®ãã©ãã€ã ã«ã¯äžå®ã®å¶éãããããã®åŸã¯ããã°ã©ã ã®éçºãèãé£ãã»ã©é£ãããªããŸãã ããšãã°ãGãSchildtã¯æ¬¡ã®ããã«æžããŠããŸãã
ããã°ã©ãã³ã°éçºã®å段éã§ãã¡ãœãããšããŒã«ã¯ããã°ã©ã ã®è€éãããæå¶ãããããã«èŠããŸããã ãããŠããã®ãããªå段éã§ãæ°ããã¢ãããŒãã¯ä»¥åã®ã¢ãããŒãããæé«ã®ãã®ãåžåããããã°ã©ãã³ã°ã®é²æ©ã瀺ããŸããã OOPã«ã€ããŠãåãããšãèšããŸãã OOPã®åã«ãå€ãã®ãããžã§ã¯ããããã°ã©ãã³ã°ã®æ§é çã¢ãããŒããæ©èœããªãããšãå€æããéçã«éããŸããïŒãããŠãããè¶
ããããšããããŸããïŒã ãããã£ãŠãããã°ã©ã ã®è€éåã«äŒŽãå°é£ãå
æããããã«ãOOPã®å¿
èŠæ§ãçããŸããã ïŒ[http://www.williamspublishing.com/Books/978-5-8459-1684-6.html Herbert SchildtãCïŒ4.0 Complete Guideã2011]ïŒ
ãªããžã§ã¯ãæåããã°ã©ãã³ã°ãããè€éãªããã°ã©ã ãèšè¿°ããè€éæ§å¶éã®çºçã®åé¡ãäºå®äžæé€ã§ããçç±ãç解ããããã«ãOOPã®åµèšè
ã®äžäººã§ããGrady BuchuïŒ[http://www.helloworld.ru/texts/comp/other /oop/index.htm Grady Butchããªããžã§ã¯ãæååæããã³èšèš]ïŒã 圌ã¯ãOOPã®èª¬æããè€éãã®æå³ãšãè€éã§ãããšèŠãªãããã·ã¹ãã ããå§ããŸãã ã€ãŸããæå³çã«è€éãªããã°ã©ã ãäœæããåé¡ã«ã¢ãããŒãããŸãã 次ã«ããã®è€éããç解ããããã«ãè€éããšäººéã®èœåã®æ¥ç¶ã®åé¡ã«ç§»ããŸãã
å¥ã®äž»ãªåé¡ããããŸãïŒè€éãªã·ã¹ãã ã§äœæ¥ãããšãã®äººã®èœåã®ç©ççãªå¶éã è€éãªãœãããŠã§ã¢ã·ã¹ãã ã®åæãéå§ãããšãããŸããŸãªæ¹æ³ã§çžäºäœçšããå€ãã®ã³ã³ããŒãã³ããæããã«ãªããã·ã¹ãã ã®äžéšãçžäºäœçšããæ¹æ³ãé¡äŒŒæ§ã瀺ããŸããã ããã¯ãçµç¹åãããŠããªãè€éãã®äŸã§ãã èšèšã®éçšã§ã·ã¹ãã ãç·šæãå§ãããšããããã«å€ãã®ããšãèããå¿
èŠããããŸãã æ®å¿µãªããã1人ã§ãã®ãã¹ãŠãåæã«è¡ãããšã¯ã§ããŸããã ãã©ãŒãªã©ã®å¿çåŠè
ã«ããå®éšã§ã¯ã人éã®è³ãåæã«ç£èŠã§ããæ
å ±ã®æ§é åäœã®æ倧æ°ã¯çŽ7ãã©ã¹ãŸãã¯ãã€ãã¹2ã§ããããšã瀺ãããŠããŸãã ãããã£ãŠãç§ãã¡ã¯æ·±å»ãªãžã¬ã³ãã«çŽé¢ããŸããã ''ããœãããŠã§ã¢ã·ã¹ãã ã®è€éãã¯å¢ããŠããŸããããã®è€éããåŠçããè³ã®èœåã¯éãããŠããŸãã ã©ãããã°ãã®èŠå¢ããæãåºãããšãã§ããŸããïŒ '' '
ãããã圌ã¯å解ã«ã€ããŠè©±ããŸãïŒ
å解ïŒã¢ã«ãŽãªãºã æåããªããžã§ã¯ãæåãïŒ ã¢ã«ãŽãªãºã ãŸãã¯ãªããžã§ã¯ãã«å¿ããŠãè€éãªã·ã¹ãã ã®ã©ã®å解ãããæ£ç¢ºã§ããïŒ ãã®è³ªåã«ã¯ãã£ããããããããã«å¯Ÿããæ£ããçãããããŸããäž¡æ¹ã®åŽé¢ãéèŠã§ãã ã¢ã«ãŽãªãºã ã«ããåé¢ã¯ãã€ãã³ãã®é åºã«çŠç¹ãåœãŠãŠããããªããžã§ã¯ãã«ããåé¢ã¯ããªããžã§ã¯ããŸãã¯ã¢ã¯ã·ã§ã³ã®å¯Ÿè±¡ã§ãããšãŒãžã§ã³ãã«ç¹ã«éèŠã§ãã ãã ãã2ã€ã®æ¹æ³ã§åæã«è€éãªã·ã¹ãã ãæ§ç¯ããããšã¯ã§ããŸããã ã¢ã«ãŽãªãºã ãŸãã¯ãªããžã§ã¯ãã®ããããã§ã·ã¹ãã ãåå²ãå§ãã次ã«ãçµæã®æ§é ã䜿çšããŠãå¥ã®èŠ³ç¹ããåé¡ãæ€èšããå¿
èŠããããŸãã çµéšããããªããžã§ã¯ãã®å解ããå§ããæ¹ãæçã§ããããšã瀺ãããŠããŸãã ãã®å§ãŸãã¯ããœãããŠã§ã¢ã·ã¹ãã ã®è€éãã®çµç¹ã«ããããŸã察åŠããã®ã«åœ¹ç«ã¡ãŸãã
ãããã£ãŠã圌ã¯ãŸããæ§é ååããããªããžã§ã¯ãæåã®ååãæ¯æããŠããŸãããäž¡æ¹ã®éèŠæ§ã匷調ããŠããŸãã èšãæãããšã人éã®è³ãçºçããã¿ã¹ã¯ã®è€éãã«å¯ŸåŠã§ããããã«ãæ§é ååã¯ãªããžã§ã¯ãæåã®ååã«åŸãå¿
èŠããããŸãã 圌ã¯ããã«ãã¢ãã«ã®éèŠæ§ã匷調ããŠããŸãã
ã¢ãã«ãæ§ç¯ããããšã®éèŠæ§ã ã¢ããªã³ã°ã¯ãå解ãæœè±¡åãããã³éå±€ã®ååãå®è£
ããŠããããããã¹ãŠã®ãšã³ãžãã¢ãªã³ã°åéã§åºãæ®åããŠããŸãã åã¢ãã«ã¯ãæ€èšäžã®ã·ã¹ãã ã®ç¹å®ã®éšåãèšè¿°ãããããããå€ãã¢ãã«ã«åºã¥ããŠæ°ããã¢ãã«ãæ§ç¯ããŸãã ã¢ãã«ã«ãããé害ãå¶åŸ¡ã§ããŸãã éåžžããã³ç°åžžãªç¶æ³ã§ã®åã¢ãã«ã®åäœãè©äŸ¡ããæºè¶³ã§ããªããã®ãããå Žåã¯é©åãªæ¹åãå®æœããŸãã ãµããžã§ã¯ãé åèªäœã«ãããªããžã§ã¯ãã«çŠç¹ãåããããªããžã§ã¯ãæåå解ãšåŒã°ãããã®ã圢æãããããªã¢ãã«ãäœæããããšãæã䟿å©ã§ãã
ããŠãããèŠããšããªããžã§ã¯ãæåã®ãã©ãã€ã ã¯äžè¬çãªã¢ããªã³ã°ã«éãããSãLemã®æãéèŠãªåŽé¢ãæãæ確ã«è¡šçŸãããŠããããšãããããŸãã
ã¢ããªã³ã°ã¯ããã®ç¹æ§ãã»ãšãã©èæ
®ããã«ãèªç¶ãæš¡å£ãããã®ã§ãã ãªãããããªã®ã§ããïŒ ç§ãã¡ã®ç¡èœã®ããïŒ ãã 第äžã«ãéå°ãªæ
å ±ãã身ãå®ãå¿
èŠãããããã§ãã ãã ãããã®ãããªéå°ã¯ãã¢ã¯ã»ã¹ã§ããªãããšãæå³ããŸãã ã¢ãŒãã£ã¹ãã¯çµµãæããŸãããç§ãã¡ã¯åœŒãšè©±ãããããšã¯ã§ããŸããã圌ãã©ã®ããã«åœŒã®äœåãäœæãããã¯ããããŸããã 圌ã¯çµµãæããšããââ圌ã®è³ã§äœãèµ·ãã£ãŠããã®ãåãããªãã ããã«é¢ããæ
å ±ã¯åœŒã®é ã®äžã«ãããŸãããç§ãã¡ã¯ãããå©çšã§ããŸããã ã¢ããªã³ã°ã¯åçŽåããå¿
èŠããããŸããéåžžã«ãããããªçµµãæžãããšãã§ããæ©æ¢°ã¯ãååã®å
åŒã®ãããªå®ç§ãªãã¢ãã«ãããããçŽ æãã€ãŸãè³ãçµµç»ã®åçã«ã€ããŠå€ããæããŠãããŸãã ã¢ããªã³ã°ã®å®è·µã«ã¯ãããã€ãã®å€æ°ãèæ
®ã«å
¥ããä»ã®å€æ°ãæŸæ£ããããšãå«ãŸããŸãã ã¢ãã«ãšãªãªãžãã«ã¯ããããã§çºçããããã»ã¹ãäžèŽããå Žåã«åäžã«ãªããŸãã ããã¯èµ·ããŠããŸããã ã¢ãã«éçºã®çµæã¯ãå®éã®éçºãšã¯ç°ãªããŸãã ãã®éãã«åœ±é¿ããèŠå ã¯3ã€ãããŸããå
ã®ã¢ãã«ãšæ¯èŒããã¢ãã«ã®åçŽããå
ã®ã¢ãã«ãšã¯ç°ãªãã¢ãã«ã®ããããã£ãæåŸã«å
ã®ã¢ãã«èªäœã®äžç¢ºå®æ§ã§ãã ïŒäœåãSum of technologyãã®æçãã¹ã¿ãã¹ã©ãã»ã¬ã ã1967ïŒ
ãããã£ãŠãSãLemã¯æœè±¡åãã¢ããªã³ã°ã®åºç€ãšããŠèªã£ãŠããŸãã åæã«ãæœè±¡åã¯ãªããžã§ã¯ãæåã®ãã©ãã€ã ã®äž»èŠãªæ©èœã§ãã Buchæ°ã¯ããã«ã€ããŠæ¬¡ã®ããã«æžããŠããŸãã
åççãªåé¡ã¯ãééããªãç§åŠã®äžéšã§ãã MichalskiãšSteppã¯æ¬¡ã®ããã«äž»åŒµããŸãã ãã®ãããªåé¡ã¯ãäž»ãªåé¡ã®ç解ãšç§åŠçè«ã®ãããªãçºå±ã倧ãã«ä¿é²ããŸããã åé¡ãããã»ã©è€éãªã®ã¯ãªãã§ããïŒ ãã¡ãããäžéšã®åé¡ã¯ä»ã®åé¡ãããåªããŠããŸãããããã¯ãå®å
šãªãåé¡ããªãããã§ãã ã¯ãŒã ã¹ãã©ãã£ã¢ãã¹ã©ãŒã¯ããç§åŠè
ããã®ä»äºãåŒãåããã®ãšåããããå€ãã®æ¹æ³ã§äžçããªããžã§ã¯ãã·ã¹ãã ã«åå²ããæ¹æ³ãããããšäž»åŒµããŸãã åé¡ã¯å¯Ÿè±¡ã®èŠç¹ã«äŸåããŸãã 措氎ãšã«ãŒãœã³ã®äŸïŒãã€ã®ãªã¹...çµæžåŠè
ã¯çµæžæ©é¢ã瀟äŒåŠè
ã¯ç€ŸäŒãç°å¢ä¿è·äž»çŸ©è
ã¯èªç¶ã®æ»è§ãã¢ã¡ãªã«ã®èŠ³å
客ã¯èŠ³å
åæããœããšãã®æå°è
ã¯è»äºçè
åšããããŠæåŸã«ç§ãã¡ã®äžã§æãããã³ããã¯ãè±åœ-圌ãã®æ
é·ã®ç·ã®ç§èå°ã®ããã«ãã
ãããŠã圌ã¯ç§ãã¡ãå¿
èŠãšããäž»èŠãªæœè±¡åã®éžæã«ã€ããŠè©±ããŸãã
'' 'ããŒæœè±¡åã®æ€çŽ¢ãšéžæ' ''ããŒæœè±¡åã¯ãåé¡é åã®èŸæžã«å«ãŸããã¯ã©ã¹ãŸãã¯ãªããžã§ã¯ãã§ãã ''ãäž»èŠãªæœè±¡åã®äž»ãªäŸ¡å€ã¯ãåé¡ã®å¢çãå®çŸ©ããããšã§ãã ''ïŒã·ã¹ãã ã«å«ãŸããããããç§ãã¡ã«ãšã£ãŠéèŠãªãã®ã匷調ããäžèŠãªãã®ãæé€ããŸãã ãã®ãããªæœè±¡åã匷調ããã¿ã¹ã¯ã¯ãåé¡é åã«åºæã§ãã ãŽãŒã«ãããŒã°ã«ãããšãããªããžã§ã¯ãã®æ£ããéžæã¯ãã¢ããªã±ãŒã·ã§ã³ã®ç®çãšåŠçãããæ
å ±ã®è©³çŽ°åºŠã«äŸåããŸããã
ãã§ã«è¿°ã¹ãããã«ãäž»èŠãªæœè±¡åã®å®çŸ©ã«ã¯ãçºèŠãšçºæãšãã2ã€ã®ããã»ã¹ãå«ãŸããŸãã äž»é¡åéã®å°é家ã«è³ãåŸããããšã§æœè±¡åãçºèŠããŸããå°é家ãããã«ã€ããŠè©±ãå Žåããã®æœè±¡åã¯éåžžéåžžã«éèŠã§ãã , , , . , «, , »; â . , , , , , , . , .
â .
ãã®ããããªããžã§ã¯ãæåã®ãã©ãã€ã ã¯é«ã¬ãã«ã®ãã©ãã€ã ã«ãªããæ§é ããã°ã©ãã³ã°ãã©ãã€ã ã®åçãæ¯é
ããã¢ããªã³ã°ãªã¢ãªãã£ã«åŸäºãããããã®åéã®å°é家ã®èšèªã§ãã¡ã€ã³ã¢ãã«ãæ§ç¯ããŸããæ確ãªã€ã³ã¿ãŒãã§ãŒã¹ãšç¬ç«ããã¢ãžã¥ãŒã«ãæã€ãç°¡åã«ä¿®æ£ãæ¡åŒµã§ããããã°ã©ã ãäœæããããã«ãããæ ããšãæ§é åããã°ã©ãã³ã°ãã©ãã€ã ã®ã¬ãã«ã«æ»ããŸããããªãã®ããã°ã©ã ã¯èª°ã«ãšã£ãŠãè¯ãã§ãããããçŸå®ã«ã¯å¯Ÿå¿ããŠããªããããç解ããããšã¯ã§ããŸãããããªãã«ããç¥ãããŠããªãçšèªã§èª¬æãããäž»é¡åéãç¥ã£ãŠããå°é家ã¯ããªãã®å©ããªãã«ããã°ã©ã ãç解ããããšã¯ã§ããŸãããæçµçã«ãé£æ床ã¯éåžžã«çãç¯å²ã§æžå°ããè¯ãããã°ã©ã ãçµç¹ããŸããããããããããã¯ããã°ã©ã ã§ãããã¢ãã«ã§ã¯ãããŸãããã¢ãã«ãååšããªãããŸãã¯ã¢ãã«ã®è¡šé¢çãªè¡šçŸãããã°ãåªããããã°ã©ã ãå
éšãããçç Žãããå°æ¥ããããããã«éçºããŠåè¡ããããšã¯ã§ããŸãããæœè±¡æŠå¿µãååšããªãã¯ã©ã¹ãå°å
¥ãããšãããããã®ã¯ã©ã¹ãçŽç²ã«äœç³»çã§ãµããžã§ã¯ããšãªã¢ãšã¯ç¡é¢ä¿ã§ãããšããä»ã®ã¯ã©ã¹ã®çžäºäœçšãããŒãåçŽåããããã ãã«å°å
¥ããããšãããœãããŠã§ã¢ã¯ãã²ããããã«ãªãããªãã¡ã¯ã¿ãªã³ã°ãè¡ãããªãå Žåãã®ãããªé åãè¶
ããŠãããæ¥ããªãã®ãœãããŠã§ã¢ã®éçºãåæ¢ããããã¯äžå¯èœã«ãªããŸã-ããªãã¯æ§é ããã°ã©ãã³ã°ã®éçã«éããã§ãããïŒãããŠã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãããªããè
ããããšã¯ãªãããã«æãããŸãããïŒïŒãŸãã¯è¡šé¢çãªè¡šçŸã§ãããããªãã®è¯ãããã°ã©ã ãå
åŽãããçç Žãããå°æ¥çã«ã¯ãããããã«éçºããã³ä¿å®ããããšã¯ã§ããŸãããæœè±¡æŠå¿µãååšããªãã¯ã©ã¹ãå°å
¥ãããšãããããã®ã¯ã©ã¹ãçŽç²ã«äœç³»çã§ãµããžã§ã¯ããšãªã¢ãšã¯ç¡é¢ä¿ã§ãããšããä»ã®ã¯ã©ã¹ã®çžäºäœçšãããŒãåçŽåããããã ãã«å°å
¥ããããšãããœãããŠã§ã¢ã¯ãã²ããããã«ãªãããªãã¡ã¯ã¿ãªã³ã°ãè¡ãããªãå Žåãã®ãããªé åãè¶
ããŠãããæ¥ããªãã®ãœãããŠã§ã¢ã®éçºãåæ¢ããããã¯äžå¯èœã«ãªããŸã-ããªãã¯æ§é ããã°ã©ãã³ã°ã®éçã«éããã§ãããïŒãããŠã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãããªããè
ããããšã¯ãªãããã«æãããŸãããïŒïŒãŸãã¯è¡šé¢çãªè¡šçŸã§ãããããªãã®è¯ãããã°ã©ã ãå
åŽãããçç Žãããå°æ¥çã«ã¯ãããããã«éçºããã³ä¿å®ããããšã¯ã§ããŸãããæœè±¡æŠå¿µãååšããªãã¯ã©ã¹ãå°å
¥ãããšãããããã®ã¯ã©ã¹ãçŽç²ã«äœç³»çã§ãµããžã§ã¯ããšãªã¢ãšã¯ç¡é¢ä¿ã§ãããšããä»ã®ã¯ã©ã¹ã®çžäºäœçšãããŒãåçŽåããããã ãã«å°å
¥ããããšãããœãããŠã§ã¢ã¯ãã²ããããã«ãªãããªãã¡ã¯ã¿ãªã³ã°ãè¡ãããªãå Žåãã®ãããªé åãè¶
ããŠãããæ¥ããªãã®ãœãããŠã§ã¢ã®éçºãåæ¢ããããã¯äžå¯èœã«ãªããŸã-ããªãã¯æ§é ããã°ã©ãã³ã°ã®éçã«éããã§ãããïŒãããŠã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãããªããè
ããããšã¯ãªãããã«æãããŸãããïŒïŒãããã®ã¯ã©ã¹ãçŽç²ã«äœç³»çã§ããµããžã§ã¯ãé åãšã¯é¢ä¿ããªãå Žåãä»ã®ã¯ã©ã¹ã®çžäºäœçšãããŒãåçŽåããããã ãã«å°å
¥ãããå ŽåããœãããŠã§ã¢ã¯ãã²ããããã«ãªãããªãã¡ã¯ã¿ãªã³ã°ããã®ãããªé åãäžæçã«ç£èŠããªãå ŽåããœãããŠã§ã¢éçºåæ¢ããäžå¯èœã«ãªããŸã-æ§é ããã°ã©ãã³ã°ã®éçã«éããŸãïŒã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãè
åšã«ãªããªãããã«æãããŸãïŒããããã®ã¯ã©ã¹ãçŽç²ã«äœç³»çã§ããµããžã§ã¯ãé åãšã¯é¢ä¿ããªãå Žåãä»ã®ã¯ã©ã¹ã®çžäºäœçšãããŒãåçŽåããããã ãã«å°å
¥ãããå ŽåããœãããŠã§ã¢ã¯ãã²ããããã«ãªãããªãã¡ã¯ã¿ãªã³ã°ããã®ãããªé åãäžæçã«ç£èŠããªãå ŽåããœãããŠã§ã¢éçºåæ¢ããäžå¯èœã«ãªããŸã-æ§é ããã°ã©ãã³ã°ã®éçã«éããŸãïŒã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãè
åšã«ãªããªãããã«æãããŸãïŒãã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãè
åšã«ãªããŸãããïŒïŒãã¯ã©ã¹ãšãªããžã§ã¯ãã䜿çšããŠãè
åšã«ãªããŸãããïŒïŒãæŽæ°ããŸãããç§ã¯ããã§ããããã¯ã¯éããã³ã¡ã³ãããªããšæããŸãããèšäºã§äºå®ãè¿°ã¹ãŸããããããªããŒã®ã¬ãã«ã«ãŸã§äžãããããããŸããããããèããããªãã£ãå Žå-ããŠãããã¯ä»åã¯éããªãããšãæå³ããŸãã確ãã«ãããã¯å»ºèšçã§ã-å¥ã®èšäºã§åè«ãæžãå Žåãç§ã¯å€§è¡ã®ã¹ãã¬ãªã¿ã€ããç Žå£ãããšã¯æããªããã¯ãããŸããæ確ã«ããããã«ãããã§ã®è°è«ã®åŸã«å
¬éããããšã«ããŸãããRosenblattããŒã»ãããã³ãããã°ã©ã ããŸãããã , , . , â , . ( ) , , . , â , , ?