Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use it occasionally, what does !{language} search mean?


!java means limit search to Java documentation

!scala means limit search to Scala documentation

!golang means limit search to Go documentation

!cpp means limit search to C++ documentation

etc.

see (https://duckduckgo.com/bang.html) for more.


Say you want to refer to the JavaScript docs, you can type:

"!javascript function" and it will take you immediately to the documentation.


This works sporadically for me, and the autocomplete text is completely wrong: http://i.imgur.com/v3skzTX.png

That search, "!ruby string", also redirects to... a google search?


Luckily DuckDuckGo is partially open, you can help contribute fixes :)


Duck duck go does not share search data with any open search database e.g. YaCy http://en.wikipedia.org/wiki/YaCy

It'd be pretty great if they did!


Thanks. I was confused by language for various countries...


Google it




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: