DHHã® Dependency injection is not a virtue(2013) ã¨ããè¨äºã¯æåã§ãããã¡ããã¨ããæ¥æ¬èªè¨³ãæå¤ã¨ãªããããªã®ã§ãæ¸ãåºãã¦ã¿ã¦æã£ããã¨ãè¦ç´ãã¦ã¿ãã[1] Rubyã®ã¨ã³ã¸ãã¢ã®ä¸ã«ã¯ãä½ãèããã«ä»ã®ã¢ãã«ã®newãæ¸ãã¦ã人ã®å²åãå¤ãã¨ããï¼ã³ã¼ãã¬ãã¥ã¼æã®ãã¢ãªã³ã°ã«ããï¼ä½æããããã¾ã8å¹´åã®è¨äºãªã®ã§çµé¨ã®æµ ã人ã¯èªãã ãã¨ããªã人ãããã¨æãã該å½ããæ¹ã¯æ¯éèªãã§ã»ããã å ¨é¨èªãæéãç¡ã人ã¯è¦ç´ã¸. åæã¨è¨³æ In languages less open than Ruby, hard-coded class references can make testing tough. If your Java code has Date date = new Date(); buried in its guts,
{{#tags}}- {{label}}
{{/tags}}