Microsoft has partnered with the programming community website HackerRank. Bing search engine now comes with a unique feature that provides executable code directly in the search results.

You can now search for code snippets and see the result directly without visiting websites like Stack Overflow or W3Schools.

enter image description here

Microsoft has turned Bing into a specialized search engine for coding.

How to use this new code snippet feature?

Head over to:

www.bing.com

First, make sure your region is set to United States - English in Bing.

Click on the Settings button on Bing.com page and look for Regions in left sidebar and change your region to US.

enter image description here

Now you can search queries like for loop in php, fibonacci in php, quick sort php, etc.

enter image description here

Bing search engine can show more than 80 code snippets that cover the most commonly searched terms. More snippets will be added in the future!

Go ahead, give it a try!

Conclusion

Very useful isn't it?

Hopefully, we can search for Laravel snippets in the future!

Do you like this feature? Leave some comments below to share your thoughts!

Don't forget to share this small tip with your friends!