<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>Functional Programming</anon>
    <anon>JavaScript</anon>
    <anon>TIL (Today I Learned)</anon>
  </categories>
  <description>勉強会で 読みやすいコードのガイドライン をやっていて冪等であるのがよい。と書かれていたのですが冪等についてふわふわした感覚だったので調べたメモ。 ⚠ しっかり調べた訳ではないので解釈が間違っている可能性があります :pray: 冪等性 idempotency, idempotence 同じ操作を何度繰り返しても、同じ結果が得られるという性質 f(x) = f(f(x)) が成立する (数学的な厳密な冪等性？) abs(-100) = abs(abs(-100)) なので abs() 関数は冪等性がある sqrt(16) === sqrt(sqrt(16)) は成立しないので sqrt() 関…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2022%2F11%2F19%2F201000&quot; title=&quot;TIL: 冪等性、参照透過性、純粋関数 についてのメモ - かもメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/51gWu2+kUvL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-19 20:10:00</published>
  <title>TIL: 冪等性、参照透過性、純粋関数 についてのメモ</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2022/11/19/201000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
