Streams and Observables

2015-05-08 Thread Boopathi Rajaa
We have, synchronous primitives: values and list of values(arrays) synchronous things that give out these primitives: functions and generators asynchronous primitives: promises analogous to values streams analogous to a list of values Asynchronous things that give out these primitives: Async

Promises vs Streams

2015-03-28 Thread Boopathi Rajaa
I feel this must have already been discussed but couldn't find any discussion threads, just trying to understand them better. The basic doubt is that I feel promises are more like streams, and that streams are much more powerful than promises. With a promise you have a value or an exception, and

re initializing const throws error which is unable to catch

2015-02-14 Thread Boopathi Rajaa
http://jsbin.com/quvujecuro/5/edit?html,js,console Is it the problem with implementation or am I doing something wrong here in terms of philosophy that redeclaring should throw independent of try..catch block around it ? - Boopathi ___ es-discuss