Javaã¯Interfaceã¨ããç¹æ®ãªå®è£ ãæããªããã®ã ãå¤éç¶æ¿ã§ãããå®è£ ãå¤éç¶æ¿ããä»çµã¿ã¯ãªããåãã·ã°ããã£ã®ã¡ã½ãããæã£ã¦ãã2ã¤ã®Interfaceãç¶æ¿ããéã«ã¨ã©ã¼ã«ãªããªãã®ã§è¡çªã«æ°ä»ããªãã Pythonã¯ã¯ã©ã¹ãå¤éç¶æ¿ã§ãããåãååã®ã¡ã½ãããæã£ã¦ãã2ã¤ã®ã¯ã©ã¹ãç¶æ¿ããéã«ã©ã®ã¡ã½ãããå¼ã°ãããã¯C3ç·å½¢åã使ã£ã¦æ±ºå®ããããsee: A Monotonic Superclass Linearization for Dylan Rubyã¯Moduleã¨ããããªã«ããç¶æ¿ãããã¨ã¯ã§ããªãã¦ã¤ã³ã¹ã¿ã³ã¹åãã§ããªããã®ãã ãã¯å¤éç¶æ¿ã§ãããModuleãå¥ã®ãã®ãç¶æ¿ã§ããªãããã¡ã½ããã®è§£æ±ºã¯ç´ æ´ãªæ¢ç´¢ã§OK(include A include BãããBã§ã®å®è£ ãåªå ) Smalltalkã«ã¯Traitã¨ããå®è£ ã®å¤éç¶æ¿ãã§ããããã¿ãã
{{#tags}}- {{label}}
{{/tags}}