serv-inc
serv-inc

Reputation: 38247

Search for ==, ++, etc

Google did not give me the results desired when querying for

python == and in or in

This is seemingly because google omits common programming language operators like == from search terms. Is there a way to get around this limitation?

Previous answers recommended google code search, yet that is shut down. Symbolhound.com was recommended, yet returned an empty results page.

This is not about searching for code, but instead searching for programming-related documentation (most often found on SO ;-), so are there any ways to search the web (or, for that matter, SO) for programming syntax?

Upvotes: 2

Views: 608

Answers (1)

Oran D. Lord
Oran D. Lord

Reputation: 747

There's an answer on the WebApps Stack I'll paraphrase here for posterity.

Write out the name of each symbol followed by "operator". Include the programming language if you want to be more specific.

Example                           Recommended Search
----------                        -----------
+= (addition assignment)          "plus equals operator"
%  (modulus)                      "percent operator"
^  (C++ bitwise XOR)              "caret operator C++"

Upvotes: 4

Related Questions