Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

Welcome back to ES6 – “Dude, we already had those!” – in Depth series. If you’ve never been around here before, start with A Brief History of ES6 Tooling. Then, make your way through destructuring, template literals, arrow functions, the spread operator and rest parameters, improvements coming to object literals, the new classes sugar on top of prototypes, let, const, and the “Temporal Dead Zone”,
A work in progress. There are three recordings of a presentation of A General Theory of Reactivity: OSCON, MediterraneaJS, MidwestJS. The presentation includes figures and animations not presented here. In the context of a computer program, reactivity is the process of receiving external stimuli and propagating events. This is a rather broad definition that covers a wide variety of topics. The ter
W’ve seen that Futures/Promises emerge as a logical meaning for asynchronous functions like in this Node example : fs.readFile(‘…’) // => a Future/PromiseSimilarly, we w’d like to represent the meaning of functions like this someEventSource.on('event', ...) // => ?The second code shares the asynchronous semantics of the first, hence the use of callbacks in both cases. But instead of a single futur
---------------------------------------- | Nothing found here :/ | ---------------------------------------- \ .--._.--. \ ( x x ) / . . \ `._______.'. /( )\ _/ \ \ / / \_ ~ ` \ \ / / ' ~. { -. \ V / .- } _ _`. \ | | | / .'_ _ >_ _} | | | {_ _< /. - ~ ,_-' .^. `-_, ~ - .\ '-'|/ \|`-`
Update October 2018: If you need to brush up on promises and async/await, I highly recommend you look instead at my Mastering Asynchronous JavaScript course on Frontend Armory. The course contains 47 live examples and exercises, and also comes with this spiffy Promises and async/await cheatsheet. Of course, my original promises guide is still useful today! Here it is: Apart from being new and shin
3月ぐらいにMLでMithril.jsの将来計画を聞かれた時の、作者のLeo Horie氏のコメントが興味深かったので翻訳してみました。ちなみに、回答されていなくて明記もされてないのですが、MLのやりとりを見ているとMithrilにはコアメンバーが4-5人はいそうです。 Andreas Söderlund 私は現在とても大きなWebのプロジェクトを開始しようとしています。少なくとも5年は使われ続けることを考慮して、なるべく将来のことについて考えておきたいと思います。例えば、5年前はタブレットとモバイルデバイスは考慮に入れることはそれほどありませんでしたが、今はそれらのサポートが絶対に必要です。 最初の質問はLeoへの質問です。Mithrilはとてもすばらしいもので、すでにそれを使うことは決定しました。しかし、LeoがMithrilに対して5年後にどのあたりを見ているのかを聞いておきたいと思
See how to code native Promises and specific error detection in io.js. Recently the projects announced they are merging back together. While we wait for that merge to happen, there are still a few things you can do in io.js that are not yet available in node.js. One of those features is native Promises, part of ES6, along with some new io.js specific error detection.Here’s the basic Promises featu
Fellow JavaScripters, it's time to admit it: we have a problem with promises. No, not with promises themselves. Promises, as defined by the A+ spec, are awesome. The big problem, which has revealed itself to me over the course of the past year, as I've watched numerous programmers struggle with the PouchDB API and other promise-heavy APIs, is this: Many of us are using promises without really unde
自作RustスタイルECMAScript用Option型ライブラリoption-tをいろいろアップデートしたので、リリースノートがてら書く。ご存知ない方はこちらをどうぞ。要はOption<T>/Maybe型だ。 Promiseへのキャストメソッドを用意した ECMA 262の文化には、すでにMaybeもどきの標準仕様が存在する。ご存知Promiseだ。 だが、Promiseは非同期前提の操作になるので、同期的に実行するAPI群との親和性が良いとは言えず、かといって全てをPromiseにするほどでもない場合のために、わざわざこんなライブラリを作ったというのは前に書いた通り。 でも、今の世の中、どこかしらの関数がPromiseを返すじゃん?そこに上手く混ぜられるととっても楽じゃん? てなわけでcast用メソッドとしてOptionT.asPromise()を追加した。これにより、スムーズにPro
RQ: Better Living Through Asynchronicity Douglas Crockford 2017-09-20 RQ is a small JavaScript library for managing asynchronicity in server applications. The source is available at https://github.com/douglascrockford/RQ. This page is available at http://RQ.crockford.com/. It is in the Public Domain. Asynchronicity Asynchronicity is becoming the preferred method for solving a large class of proble
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く