2015-05-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¤ãã«Kotlinãã¤ã«ã¹ãã¼ã³12ããªãªã¼ã¹ããã¾ããï¼ å ¬å¼ããã°ã¯ãã¡ãã è¨èªä»æ§ã®å¤æ´ã«ã¤ãã¦ã¾ã¨ãã¾ãã ä»åã¯ããã¨å¤ãã§ãã @ngsw_taro å¤æ´å¤ãã¦ä¿®æ£ã大å¤ãã¨æããã¾ãããAnalyze -> Code cleanupã§ããã¸ã§ã¯ãå ã®Kotlinã½ã¼ã¹ãã¡ã¤â¦
Kotlinã®é¢æ°ãªãã©ã«ã¯ãã®å¼æ°ãå¯ä¸ã¤ã ãã®å ´åãæé»ã®å¼æ°ã¨ãã¦itã使ç¨ã§ããã®ã¯ã¿ãªãããåç¥ã ã¨æãã¾ã(æé»ã®å¼æ°ã¨ããè¨èã¯æ£ç¢ºãããªããããªæ°ããããã©æ°ã«ããªã)(ç¥ããªã人ã¯å ¬å¼ããã¥ã¡ã³ããä»æ¥çºå£²ã®SoftwareDesignãè¦ãã¨ãâ¦
Kotlinã«ã¯Class Delegationã¨ããæ©è½ãããã¾ãã å ¬å¼ããã¥ã¡ã³ãã¯ãã¡ãã ããã®ä½¿ãéã«ã¤ãã¦æ¸ãããã¨æãã¾ãã ããããClass Delegationã£ã¦ï¼ Delegationãã¤ã¾ãå§è²ã®ä»çµã¿ã§ãã ä¾ãã°ãããªæãã // æ¨æ¶ãã人ã®ã¤ã³ã¿ãã§ã¼ã¹ traitâ¦