ååã¯ãIOP(Inside-Out Principle)ã説æããã½ããã¦ã§ã¢ã®è¨è¨ãã ã·ã¹ãã å
¨ä½ãã¬ã¤ã¢ã¦ããããå ´ã(ã¢ã¼ããã¯ãã£)ãä½ãã ããã«å®å®æ§ã®é åºã«å¾ã£ã¦æ½è±¡ãåãåºãã¦ããä½æ¥ã ã¨åå®ç¾©ãã¾ãããã¢ã¼ããã¯ãã£ãå®å®æ§ã®é åºãããªãã¡Inside-Outã§è¨ è¨ãããã¾ãã¢ãã«ãããæå¾ã«ã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ãè¨è¨ããã¨ãã ã®ãè¨è¨æ´»åã®å¤§ããªæéã§ãã ä»åã¯ãå¾åã®ãæ½è±¡ãåãåºãã¦ããä½æ¥ãã«ã¤ãã¦ã®ååãç´¹ä»ãã¾ãã ããã§ãæ½è±¡(Abstraction)ã¨ããã®ã¯æ¦å¿µã¨ãããã³ã°ã§ããã¢ã¸ã¥ã¼ã«ã®ã ã¨ã§ãããªãã¸ã§ã¯ãæåè¨è¨ã§ã¯ãæ½è±¡ãã¢ã¸ã¥ã¼ã«(ã½ããã¦ã§ã¢åå²ã® åä½)ã¨ç´æ¥ãããã³ã°ã§ããã®ã大ããªå©ç¹ãªã®ã§ãã ããªãã¡ããã¯ã©ã¹ãããã®æ½è±¡ã§ããããã¤ã¢ã¸ã¥ã¼ã«ã®å½¹å²ãæããã¾ãã SRPã¯ãã©ã®ããã«ã·ã¹ãã ãã¯ã©ã¹åå²(çºè¦ã
{{#tags}}- {{label}}
{{/tags}}