Hacker News new | ask | show | jobs
by pielud 4499 days ago
The killer feature for me with ddg (as a programmer) is the ! searches for documentation:

  !php strstr
  !python os.makedirs
  !pypi requests
  !js String
etc.

This gives you a single search bar for all documentation, which is amazing.

edit: formatting

6 comments

That's absolutely fabulous. I'm a DDG user already, but didn't knew about this trick. A brilliant time saver.

Thanks for sharing.

Here are all of the supported ! searches:

https://duckduckgo.com/bang.html

or just search ddg for !bang

absolutely. this is why DDG is the default search on my browser. It's site-specific search for all the sites I actually care about rules into one easy command line interface. It's also replaced the desktop calculator thanks to wolfram alpha integration.

seriously, I don't know how I would function without !python, !pypi, !w, !gmap, and !hn

Wow I didn't know about this. +100 for DDG.
I already have that in my browser. And have since before DDG was launched.
This is ultimately the thing got me to switch the DDG about 2 years ago.
ironically !c# brings you to a forbidden place :p
!csharp doesn't, which is even more ironic.