You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Stackable traits in Scala refers to being able to mix in multiple traits that work together to apply multiple modifications to a method. This involves invoking super.theMethod and modifying its input and/or output. But what is super in the context of a trait? The class (or trait) the trait extends from? The class the trait is being mixed into? It depends! All the mixed in traits and all the superc
Scalaã¹ã¿ã¤ã«ã¬ã¤ã¶ EPFLã®æä¾ããå ¬å¼ã¹ã¿ã¤ã«ã¬ã¤ããï¼Artimaã®ãããªã³ãã¥ããã£ãµã¤ãã«ããéå ¬å¼ã¬ã¤ãã®ä»£ããã«ï¼æ®ã©ã®å ´åã«å¾ãã¹ãScalaã®ã¹ã¿ã¤ã«ã«ãããã¬ã¤ãã©ã¤ã³ã®æ¦ç¥ã示ãäºãæå³ãã¦ãã®ææ¸ã¯ä½ããã¾ããããã®ã¬ã¤ãã§ã¯ï¼ãªããã®ã¹ã¿ã¤ã«ãæ¨å¥¨ãããã®ãï¼ã¾ããã®ä»£æ¿æ¡ãã©ã®ããã«ãã¦ãã®ã¹ã¿ã¤ã«ã«é¢é£ããã®ããï¼ã§ããéãå¤ãã®ç®æã§è©³ç´°ã«è¨è¿°ããããåªãã¦ãã¾ããä»ã®å ¨ã¦ã®ã¹ã¿ã¤ã«ã¬ã¤ãã¨åæ§ã«ï¼ãã®ææ¸ããããç ´ãããã«ã¼ã«ã®ä¸è¦§ã¨ãã¦æ±ã£ã¦ãã ãããããã§æ示ããã¹ã¿ã¤ã«ããã好ã¾ããå¥ã®ã¹ã¿ã¤ã«ããã£ã¨ç¾ããã¯ãã§ãã ã³ã³ãã³ã:
Effective Scala Marius Eriksen, Twitter Inc. marius@twitter.com (@marius) [translated by Yuta Okamoto (@okapies) and Satoshi Kobayashi (@scova0731)] Table of Contents åºç« æ¸å¼: ãã¯ã¤ãã¹ãã¼ã¹, å½å, ã¤ã³ãã¼ã, ä¸ã«ãã³, ãã¿ã¼ã³ããã, ã³ã¡ã³ã åã¨ã¸ã§ããªã¯ã¹: æ»ãåã¢ããã¼ã·ã§ã³, å¤ä½, åã¨ã¤ãªã¢ã¹, æé» ã³ã¬ã¯ã·ã§ã³: é層, 使ã, ã¹ã¿ã¤ã«, æ§è½, Java ã³ã¬ã¯ã·ã§ã³ 並è¡æ§: Future, ã³ã¬ã¯ã·ã§ã³ å¶å¾¡æ§é : å帰, Return, forã«ã¼ãã¨å å , require 㨠assert é¢æ°åããã°ã©ãã³ã°: 代æ°çãã¼ã¿åã¨ãã¦ã®ã±ã¼ã¹ã¯ã©ã¹, Option, ãã¿ã¼ã³ã
ï¼æ15æ¥ã«è¡ããã第6åå ¬å¤ã§ã¯ãå³éªå¸è£å¤å®ãæ¸è å·¦è¿è£å¤å®ã«ä»£ãã£ããããæ´æ°æç¶ããè¡ããã主任å¼è·äººã®ä½è¤åå²å¼è·å£«ãæè¦ãè¿°ã¹ããç¶ãã¦æ¤å¯å´ã®è¨¼æ ã®è¦æ¨åç¥ã®ç¶ããè¡ããç¯äººããã®ã¡ã¼ã«ãã¡ãã»ã¼ã¸ãå ¨æèªã¿ä¸ãããåå¾ããã¯ãæ´¾é£å ã§ï¼ãµæéã»ã©åããã¼ã ã«ããå ååã®è¨¼è¨ãè¡ãããã æ´æ°å¼è«ã§ä½è¤å¼è·å£«ã¯ãçå±±ãããç¯äººã§ããã°ãåå¨ããã¯ãã®è¨¼æ ã決å®çã«æ¬ ãã¦ãããã¨å¼·èª¿ãã¾ããæ¤å¯å´ãå ¬å¤ãå§ã¾ã£ã¦ããããã¡ã¤ã«ã¹ã©ãã¯é åã«iesyséçºã®çè·¡ãæ®ã£ã¦ãããã¨ããç¹ãç¯äººæ§ã®æ大ã®æ ¹æ ã«ãå§ããã¨ææãããå ¬å¤åæ´çæç¶ãã§ã¯å ¨ã主張ãã¦ããªãã£ããããããããæ¹ã¯ãäºç¹ãæ確ã«ããå ¬å¤åæ´çæç¶ãåæ ã«ãããã®ãã¨æ¹å¤ãããã«ãããããããè£å¤æã¯æ¤å¯ã«ç解ã示ãã¦ããã¨ãã¦ãããªãè£å¤æã¯æ¤å¯ã«è©å ¥ãããã®ããã¨å£°ãèããã å ååãã被å人ããC#ã®ããã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}