makes Y easy. → Y is made easy [by X]. → Y made easy [by X] ( 簡単になったY) 本題の simple と easy を掛けた言葉遊びでもある simple を追求すると easy にもなる? 英語的にも内容的にもちょっと苦しい解釈 Word Power Made Easy 12
変数に紐付いているデータ 時間: 再代入のたびに生じるアイデンティティと 値の紐付き関係の遷移 // Scala: ( 可変の) 変数を持つ言語の例 def heavyCalculation(xs: List[Int]): Int = var result = 0 // 変数を宣言/ 初期化 for x <- xs do result += x * x // 変数に再代入 result // 変数を参照 33
defmodule Geometry do # 関数定義とともに引数でパターンマッチ def area(%{type: :rectangle, width: w, height: h}), do: w * h def area(%{type: :circle, radius: r}), do: :math.pi() * r * r end 37