This gist is no longer in use.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
describe(' a tribute ') | |
.to(' the syntactical hubris of attempting ') | |
.to(' present logic flows as grammatically coherent ') | |
.english() | |
it(' is a foolish attempt ') | |
.for(' it aids aesthetically but limits functionally ') | |
.and() | |
.truly(' misidentifies ') | |
.a(' difficulty in the understanding of code ') | |
.foolishly(' attributing understandability of it to its ') |
This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.
Promises 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:
getTweetsFor("domenic", function (err, results) {
// the rest of your code goes here.
Editing text files from the command line is made easier with TextMate with it's command line extension mate
OR Sublime text2 with command line extensions. However the built in nano
text editor is easy to use as well.
Some guidance gleaned form from coolestguyplanettech.com
sudo chmod -R o+w /Library/WebServer/Documents