調べるうちに何となく分かってきたので、自分の言葉で整理。 背景 タイトルに挙げた用語をうまく説明できなかったので調査した。 もし誤りがあれば、コメントで指摘していただけると助かります。 要約 関数がオブジェクトである(=自分のローカル変数を持てる)言語において、関数名を持たない関数を匿名関数 / ラムダ式という。 Javaの場合、抽象化されたメソッドを一つだけもつ「関数型インターフェース」を処理中に継承・クラス化したものを関数オブジェクトのように扱っている。 クロージャーは、自分自身のローカル変数として自分が定義された式の中の変数を参照する関数のこと。定義してくれた式が終了しても変数への参照を持ち続ける=閉じ込める、でクロージャー。 カリー化は、複数の引数をとる関数を一つの引数を取る関数の組み合わせで表現すること。カリーは数学者の名前から取っている。 関数式 JavaScriptでは、関数
Clean, intuitive design — With Slate, the description of your API is on the left side of your documentation, and all the code examples are on the right side. Inspired by Stripe's and PayPal's API docs. Slate is responsive, so it looks great on tablets, phones, and even in print. Everything on a single page — Gone are the days when your users had to search through a million pages to find what they
Query string parameters have been incredibly useful on the server side since the internet took liftoff, but it wasn't until AJAX-driven web apps became popular that we relied too much on them on the client side. Not only do we grab parameter values but we also modify them dynamically with the History API, so these parameters play a major role outside of the initial page load. We've always been abl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く