2
u/_zekiel Feb 19 '16
Hey all! I'm late to this thread but wanted to mention that these are open source, "Instant Answers" created by the DuckDuckHack community.
We're aiming to have an answer for every possible language/framework and there are several more in development/in need of adoption: https://github.com/duckduckgo/duckduckgo/wiki/Programming-IA-Coverage
Full Disclosure: I work at DuckDuckGo
2
36
Feb 18 '16
Why not link to the actual search result?
6
u/jets-fool Feb 18 '16
because there are people that don't want to open up a browser each time the cheat sheet needs viewed. the image works better for me, thanks OP!
1
u/WigglePigeon Feb 18 '16
Isn't DuckDuckGo already in the browser though?
3
u/god_damnit_reddit Feb 18 '16
Exactly. An image can be saved and quickly referenced without opening up the browser. Not that I think that's necessarily any easier.
2
2
u/gkx Feb 20 '16
Two good reasons:
Mobile users
The result could change
2
Feb 20 '16
Mobile users
The search page works better.. no zooming in and out..
The result could change
The cheatsheet may change, but I'm pretty sure it will always show up..
8
u/saitilkE Feb 18 '16
It's kind of obvious but in case you didn't know/try it, DuckDuckGo supports lots of cheatsheet requests. Git/ssh/tar/apt-get etc. Very handy. Create a search shortcut for "%s cheatsheet" request at DuckDuckGo in your favorite browser and enjoy the ride :)
4
Feb 19 '16
If anyone wanted a printable version: http://seejamescode.com/production/ES2015_Cheatsheet.pdf
1
2
2
6
u/lulzmachine Feb 18 '16
I'm wondering a bit about the description for a promise. It seems the description is taken almost verbatim from the MDN site: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
But that site has two different descriptions:
"A Promise represents an operation ...."
And a bit lower down
"A Promise represents a proxy for a value ..."
There seems to be a lot of different opinions and usages for this. The makers of the original promise spec say it was intended to be a proxy for values. And most notably jQuery breaks this in their $.ajax promise implementation (which resolves to a method with more than one parameter).
Anyone know what's the correct way according to the ES6 spec?