{"title":"TIL: \u51aa\u7b49\u6027\u3001\u53c2\u7167\u900f\u904e\u6027\u3001\u7d14\u7c8b\u95a2\u6570 \u306b\u3064\u3044\u3066\u306e\u30e1\u30e2","description":"\u52c9\u5f37\u4f1a\u3067 \u8aad\u307f\u3084\u3059\u3044\u30b3\u30fc\u30c9\u306e\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3 \u3092\u3084\u3063\u3066\u3044\u3066\u51aa\u7b49\u3067\u3042\u308b\u306e\u304c\u3088\u3044\u3002\u3068\u66f8\u304b\u308c\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u51aa\u7b49\u306b\u3064\u3044\u3066\u3075\u308f\u3075\u308f\u3057\u305f\u611f\u899a\u3060\u3063\u305f\u306e\u3067\u8abf\u3079\u305f\u30e1\u30e2\u3002 \u26a0 \u3057\u3063\u304b\u308a\u8abf\u3079\u305f\u8a33\u3067\u306f\u306a\u3044\u306e\u3067\u89e3\u91c8\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059 :pray: \u51aa\u7b49\u6027 idempotency, idempotence \u540c\u3058\u64cd\u4f5c\u3092\u4f55\u5ea6\u7e70\u308a\u8fd4\u3057\u3066\u3082\u3001\u540c\u3058\u7d50\u679c\u304c\u5f97\u3089\u308c\u308b\u3068\u3044\u3046\u6027\u8cea f(x) = f(f(x)) \u304c\u6210\u7acb\u3059\u308b (\u6570\u5b66\u7684\u306a\u53b3\u5bc6\u306a\u51aa\u7b49\u6027\uff1f) abs(-100) = abs(abs(-100)) \u306a\u306e\u3067 abs() \u95a2\u6570\u306f\u51aa\u7b49\u6027\u304c\u3042\u308b sqrt(16) === sqrt(sqrt(16)) \u306f\u6210\u7acb\u3057\u306a\u3044\u306e\u3067 sqrt() \u95a2\u2026","categories":["Functional Programming","JavaScript","TIL (Today I Learned)"],"type":"rich","height":"190","url":"https://chaika.hatenablog.com/entry/2022/11/19/201000","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2022%2F11%2F19%2F201000\" title=\"TIL: \u51aa\u7b49\u6027\u3001\u53c2\u7167\u900f\u904e\u6027\u3001\u7d14\u7c8b\u95a2\u6570 \u306b\u3064\u3044\u3066\u306e\u30e1\u30e2 - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-11-19 20:10:00","blog_title":"\u304b\u3082\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","provider_name":"Hatena Blog","author_name":"kikiki-kiki","version":"1.0","blog_url":"https://chaika.hatenablog.com/","image_url":"https://m.media-amazon.com/images/I/51gWu2+kUvL._SL500_.jpg"}