radiojs.ru
AngularJS | RadioJS Podcast
http://radiojs.ru/tag/angularjs
Подкаст о веб-разработке, JavaScript, фронтенде и client-side. Прямая ссылка на ленту. К записи Выпуск 41: Типизация 2.0. К записи Выпуск 41: Типизация 2.0. К записи Выпуск 41: Типизация 2.0. К записи Выпуск 41: Типизация 2.0. К записи Выпуск 41: Типизация 2.0. Выпуск 36: Век живи век учись. Статья Ilya Grigorik “Delivering Fast and Light Applications with Save-Data”. Exploring the Angular 1.5 .component() method. One-way data-binding in Angular 1.5. Скачать выпуск (mp3, 17 MB). Обсуждение Стили и темы в...
blog.domenic.me
You're Missing the Point of Promises
https://blog.domenic.me/youre-missing-the-point-of-promises
Domenic's blog about coding and stuff. You're Missing the Point of Promises. Oct 14, 2012. This post originally appeared as a gist. Since then, the development of Promises/A has made its emphasis on the Promises/A spec seem somewhat outdated. In the name of backward compatibility. Are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:. The rest of your code goes here. They mean Commo...
blog.cballesterosvelasco.es
Typescript, nodejs, generadores, harmony, q, taskjs y autocompletado
http://blog.cballesterosvelasco.es/2014/03/typescript-nodejs-generadores-harmony-q.html
El blog de un programador generalista. Kotlin, PHP, D, HaXe, C#, Java, JavaScript, HTML, AS3, C . Tecnología, administración de sistemas, diseño, traducción y cosas frikis. Typescript, nodejs, generadores, harmony, q, taskjs y autocompletado. Mar 11, 2014. Últimamente he estado probando y experimentando con algunas tecnologías interesantes: virtualización a nivel de sistema operativo. He estado experimentando también con heroku. Y hace tiempo estuve experimentando con node-webkit. Y typescript 1.0. Http:...
jlongster.com
A Study on Solving Callbacks with JavaScript Generators
http://jlongster.com/A-Study-on-Solving-Callbacks-with-JavaScript-Generators
A Study on Solving Callbacks with JavaScript Generators. June 05, 2013. When I first started writing node.js code, there were 2 things I hated: all the popular templating engines, and the proliferation of callbacks. I was willing to put up with callbacks because I understood the power of event-based servers, but since I saw that generators. Were coming to JavaScript, I have eagerly awaited the day they were implemented. That day has come. Today, they have landed landed in V8. How about we just dive in.
amasad.me
On VMs in JavaScript
http://www.amasad.me/2012/07/17/on-vms-in-javascript
Where I write about programming and technology. On VMs in JavaScript. And the list goes on…. You maybe asking yourself what kind of asynchronous operations would an interpreter need to do in the first place. Good question! One thing you can and many already do is design your VM with a yield state. Case study: BF Interpreter. For the following section I will use a brainfuck. Interpreter to illustrate the problem and part of the solution. Asks for user input. Now the above is a synchronous. Which is the br...
promisejs.org
Promises
https://www.promisejs.org/generators
One of the most exciting features introduced in ES6 is generators. Their primary use case is in representing lazy (possibly infinite) sequences. For example, the following function returns the first n positive integers. Res = [] for. X n; x ) { res.push(x) } return. X of count( 5. We can write a very similar function using generators, that returns all the positive integers. X ) { yield. X } } for. X of count() { console. What's actually going on here, is that the. What generators do not. How it works - F...
developer.mozilla.org
function* - JavaScript | MDN
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*
Join MDN and developers like you at Mozillas View Source conference, 12-14 September in Berlin, Germany. Learn more at https:/ viewsourceconf.org. Skip to main content. Sign in or create an account:. Get web development help. Join the MDN community. Report a content problem. Português (do Brasil) (pt-BR). Web Technology For Developers. Passing arguments into Generators. Generators are not constructable. Generators and iterators in Firefox versions before 26. Object returned instead of throwing. Statement...
mbates.com
Playing with Generators | mbates
http://www.mbates.com/play/generators
Playing around with generators, especially as they relate to promises. Could we have an even better solution to callback hell? Generators are an ES6 feature. Generators are functions which can be exited and later re-entered. Their context (variable bindings) will be saved across re-entrances. Their primary use case is in representing lazy (possibly infinite) sequences. They return an iterator. Notably, they are denoted with. And they use the keyword. Key, and use. If you’re in Chrome, go to. You can also...