Echo JS 0.11.0

<~>

city41 comments

city41 2499 days ago. link 3 points
The author is basically wishing promises were observables. I really like that they aren't. To me, then() being both map() and flatMap() is one of the killer features about promises. I find having both functions in observables really makes them a lot more finicky to use.  
  
Promises are an abstraction on top of callbacks. A callback based function is also eager. Once you invoke it, you're off to the races. Same thing with creating a promise. I don't see this as a bad thing.

Promises aren't cancelable, but neither are callback based functions. 

I like promises just the way they are. The fact that they lend themselves so well to async/await shows they are well designed IMO.
city41 3877 days ago. link 3 points
It's extremely similar to Sublime Text, ST is clearly the model Github is basing it off of.  
  
It excels over ST in package management and discovery (built right into the app with a very nice UI), much better project wide search, and I find it is easier to hack on.  
  
Sublime Text so far is better at multiple cursors (although Atom is fast catching up), is a bit faster over all, and its fuzzy file search is better. But, I don't think it will be too long before Atom addresses all of those and more. I have no doubt Atom will ultimately make Sublime Text irrelevant.
city41 3877 days ago. link 1 point
That was true for me when Atom was around version 0.6x through somewhere in 0.8x. Now Atom is very fast, and not that buggy.  
  
In some areas it is better than Sublime Text, and other areas it is worse. I do expect it to leapfrog over Sublime Text pretty soon though, Atom has the advantage of momentum on its side.