Categories: Workspace

Bing Lets Users Edit Code Samples In Search Results

Microsoft has begun offering snippets of programming code directly within the results of its Bing search engine, in a move intended to help it draw developer interest.

The code results, offered in partnership with developer site HackerRank, not only appear directly in Bing’s search results, saving users from having to open individual pages, but can also be edited within the results list using a tool that runs in the browser, Microsoft said.

The feature is aimed at developers searching for a useful bit of code to solve a particular problem, or for programmers learning a new language who need to be able to easily access and edit bits of sample code, HackerRank said.

Such a process typically requires users to first enter a search query, then read through the resulting pages for the code needed, and finally transfer the code to an editor on the desktop.

“Now, you have a streamlined alternative that will not only spit out the code solution you need but also edit the code and play with it in real-time,” HackerRank co-founder Vivek Ravisankar said in a blog post. “This will save you endless time you used to spend going back and forth from search to your code editor.”

He said several dozen snippets for the most common coding questions currently feature in Bing, giving as an example string concatenation in the C# language.

Beginner to advanced programmers

Microsoft said it is aiming the feature at both those learning coding languages and at advanced programmers.

“In addition to learning how a certain algorithm/code is written in a given language, users will also be able to check how the same solution is constructed in a range of other programming languages too, providing a Rosetta-stone model for programming languages,” said Marcelo De Barros, group engineering manager for the UX features and shared tools at Bing, in a statement.

Microsoft is constantly looking for new search features to draw users away from rival Google.

Bing, the company’s current search effort, launched in 2009 and overtook Yahoo in popularity three years later.

Are you a Google expert? Take our quiz!

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

Norway Plans Temporary Ban On New Crypto Mining Data Centres

Norway reportedly seeks to impose temporary ban on new data centres mining crypto, to conserve…

1 day ago

BBC Warns Perplexity Of Legal Action Over Content Use

British broadcaster BBC alleges US-based Perplexity is reproducing BBC content “verbatim” without its permission

1 day ago

Waymo Applies For New York Testing Permit

Congested streets of New York targetted by Waymo for testing, even though full robotaxis are…

1 day ago

Apple ‘Premium’ Priced Folding iPhones Expected In 2026, 2027

Foxconn is expected to begin a foldable iPhone project later this year, says analyst, with…

2 days ago

Microsoft To Axe Thousands Of Sales Staff – Report

More job losses for Microsoft, after report tech giant is planning to cut thousands of…

2 days ago

SpaceX Starship Explodes On Launch Pad

Another setback? Elon Musk's SpaceX rocket explodes into giant fireball during testing at Starbase facility…

2 days ago