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


Quantum Company Wins Digital Startup Contest
03/03/2024

Quantum specialists Qilimanjaro is the winner of this year's Four Years From Now competition. The award was made at this year's Mobile World Congress (MWC) in Barcelona.



GitHub Enterprise Server Adds Deployment Rollout Controls
11/03/2024

Version 3.12 of GitHub Enterprise Server, the self-hosted version of GitHub that organizations can install on their own servers, has been released with support for restricting deployment rollouts [ ... ]


More News

 

raspberry pi books

 

Comments




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

Last Updated ( Wednesday, 08 March 2017 )