Every programmer and person who's tried learning to code looks up code snippets to find the best way to develop their programs. Bing's there to help now, with over 80 common code examples that can be edited and executed in your search results. When you search for a common programming term, such as "bubble sort Python" or "Python array", the new widget should appear. You can also switch the programming language to C, C++, C#, PHP or Java to compare. Click the Run button, and you'll see the code executed.
Not every programming example or term will be presented here; we still need Stack Overflow! But Bing (with assist from HackerRank) has just become a more useful tool for developers and those learning to code.