Google Now Helps You Search For || And More
Written by Mike James   
Wednesday, 08 March 2017

There are some things that you have more trouble searching for than others. Any programming notation generally causes big problems. Now Google has done something about it - the only question is why  did it take so long?!

symbols2017

 

There are some things you should never call a programming language. C++ is bad and C is worse. Go is perhaps the best example of a real problem. These days typing "Golang" into Google mostly solves the problem, but when the language first appeared trying to find anything about it was almost impossible because of the confusion with the game of Go.

Google's search engine is quite good at working out context. For example, if you have just made a search for a computer term and then search for Python you get the language not the animal. Same for Ruby, Rust and R. It makes you long for the days when languages had names that made it clear that they were computer languages - no confusion about FORTRAN, Cobol or Algol. Even APL and PL/1 were unique. 

The use of punctuation in a search term also causes Google lots of problems. The reason is that the search index generally ignores punctuation as not being relevant to meaning. Now you can search for sequences of two and three special characters like ||, ===, +=, != and so on. These are rare enough to make it possible to add them to the index without too much increase in size. 

symbolsearch

 

This is a big step forward for programmer kind. As the Google blog explains:

For example, if you’re searching for the meaning of [c++17], you will get results for the well-known programming language instead of c17, which brings up a Boeing airplane.

 

It also helps if you are trying to find Notepad++.  It probably isn't going to be of much help to APL programmers, however, as they have enough trouble typing the symbols and usually they want to ask about just one symbol.

APL

 

Google is rumored to be working on an AI-based search algorithm that should at some point in the future allow us to type in something more descriptive. Will this help with my problem of searching for C but not C# or C++?

Can't wait. 

symbols2017

More Information

Improvements to searching for special characters in programming languages

Related Articles

RankBrain - AI Comes To Google Search 

Hummingbird - A New Google Search Algorithm       

Google Search Goes Semantic - The Knowledge Graph       

Google Needs a New Search Algorithm

Google's War On Links - Prohibition All Over Again

Focus on Google Search

How does Google search?  

Google Explains How AI Photo Search Works       

The Myth of Search 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

 

Banner


Deno 2 Release Candidate Ready
26/09/2024

The Deno team has released the release candidate for Deno 2.0, which includes everything expected in the final release. This is the largest update since 1.0 back in May 2020, with major changes like t [ ... ]



Be Counted In the Python Developer Survey
09/10/2024

Conducted annually by the Python Software Foundation in conjunction with JetBrains, this survey is the major source of knowledge about the current state of the Python community. The eighth iterat [ ... ]


More News

 

kotlin book

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Wednesday, 08 March 2017 )