Scala Advent Calendar jp 2010ã® 12/20 ãæ å½ãã¾ãããDay 14ã§ãã ãããããé¡ããã¾ãã è²ã ä½ãæ¸ãããè¿·ã£ããã©ãtraitã«ã¤ãã¦æ¸ããã¨æãã¾ãã scalaã®traitã£ã¦ãã¤ã³ã¿ãã§ã¼ã¹ã®ããã§ãããªããå®è£ ãæã¦ãã®ã§ãè²ã 便å©ã§ãããã javaããscalaã¨ç§»è¡ãã¦ãã人ã«ã¨ã£ã¦traitã¨ã¯ãªãããï¼ã¨æã£ã¦ãã¾ãã®ã§ããã®ããããæ¸ãã¦ã¿ãããã¨æãã¾ãã Slateã«ããtrait ã¾ããtraitã ããè¦ãã¨ãscalaã®traitã¯ä»ã®è¨èªã®ã½ã¬ã¨éã£ã¦ãã¾ãã ä¾ããæªã(?)ã§ãããtraitãæã¤Slateã¨ããè¨èª(SELFç³»ã®è¨èªã§ãsmall talkã«ããä¼¼ã¦ããè¨èªã§ã) ã®å ´åãtraitã¯ã©ã¡ããã¨ããã¨ãã¡ã½ããã®éåã§ãã£ã¦ããã®traitã使ããã¨ã§å¤éç¶æ¿çãè¡ãããã«ã§ããã¤ãã§ã
{{#tags}}- {{label}}
{{/tags}}