1999/09/03 æ´æ° ç³äº å ãã¦ï¼ãã®ã»ã¯ã·ã§ã³ã§ã¯ãã¶ã¤ã³ãã¿ã¼ã³ãçµ±ä¸çã«ç解ããããã«ï¼ã Open-Closed Principle (OCP) ã ã¨ããè¨è¨ã«ã¼ã«ã«åºã¥ãã¦ãã¿ã¼ã³ãçºãã¦ã¿ããã¨ã«ãã¾ãï¼ã¾ã OCP ã®æå³ã¨è§£èª¬ãè¡ãï¼ãã®å¾ãã¶ã¤ã³ãã¿ã¼ã³ã OCP ã®è¦³ç¹ããè¦ã¦ã¿ã¾ãï¼å®ã¯ï¼ãã¶ã¤ã³ãã¿ã¼ã³ã®ãã¡ã®å¤ã㯠OCP ãæºããããã«ç¨æããããã®ã¨èãããã¨ãã§ããã®ã§ãï¼ãã®ã»ã¯ã·ã§ã³ã§ã¯ï¼ OCP ãç解ãï¼æ°ãããã¶ã¤ã³ãã¿ã¼ã³ã®ä¸ããã©ãããå ´åã«ã©ã®ãã¿ã¼ã³ã使ãã®ãä¸çªå¹æçãªã®ããèãã¾ãï¼ GoF ã®ãã¶ã¤ã³ãã¿ã¼ã³ã¯ï¼å ¨é¨ã§ 23 åãã®ãã¿ã¼ã³ãããã¾ãï¼ãã®ãã¶ã¤ã³ãã¿ã¼ã³ã¯ï¼å¤ãã®å±é¢ã§ç¹°ãè¿ãç¾ããè¨è¨ãæ½åºãããã®ã§ãããï¼ãªãã¸ã§ã¯ãæåã®ã¨ãã»ã³ã¹ãéãããã®ã ã¨è¨ããã§ãããï¼ãªãã¸ã§ã¯ãæåã«ã¯ï¼ã«ãã»ã«åï¼ç¶
{{#tags}}- {{label}}
{{/tags}}