blog.j5ik2o.me å¤ãªãã¸ã§ã¯ãã¯ãã¡ã¤ã³åºæåã®ä¸ç¨®ã§ãããªã®ã§ãä¸å¤ã¨ç価å¤å®ã ãã§ã¯ãªãããªã«ãããã®ãã¡ã¤ã³åºæã®ä¸å¤æ¡ä»¶(invariant)ãç¶æãã責任ãããã¨èãã¾ã(ãã¡ããåã¨ãã¦åãåºãããã§ããããã®æè³ã«è¦åãã ãã®è¦è¿ãããªãã¨ããã¾ãã)ã éããå¤ãªãã¸ã§ã¯ãã¨ã¯ID以å¤ã§ç価å¤å®ããããªãã¸ã§ã¯ãã®äºã§ãã£ã¦ãRubyã®HashãPythonã®dictãC++ã®std::unordered_setãããå¤ã«ãã£ã¦ç価å¤å®ãè¡ãã®ã§ãããã¯å¤ãªãã¸ã§ã¯ãã§ããããã¡ã¤ã³åºæåã§ã¯ãªããRubyã§Hashã«å ¥ãã¦æ¸¡ãããã¦ã¼ã¶å ¥åå¤ãValidationãã¦ãã¡ã¤ã³åºæåã«è©°ãç´ãã®ã¯ãã¡ããå¿ è¦ãªãããã°è¯ãããHashã¯ã©ã¹ãã®ãã®ã«ã¢ã³ãã¼ããããªãç¹ç°ã¯ã©ã¹ãªããè¡ã£ã¦ä¸å¤æ¡ä»¶ãç¶æãã責任ãè² ã£ãèªåå°ç¨Hashãä½ã£ã¦æ®éã®Hashã¯ã©
{{#tags}}- {{label}}
{{/tags}}