Google’s Bard AI chatbot can now generate and debug code

Google’s conversation AI tool Bard can now help software developers with programming, including generating code, debugging and code explanation — a new set of skills that were added in response to user demand.

Coding has been one of the top requests Google has received from users, according to a Friday blog post by Google Research product lead Paige Bailey.

Google said Friday it is launching these software development capabilities in more than 20 programming languages including C++, Go, Java, JavaScript, Python and TypeScript. Users can export Python code to Google Colab. Bard can also help with writing functions for Google Sheets.

Collectively, this means that Bard, the generative AI experiment Google launched earlier this year, can review and help users debug their source code line by line. Google said developers can tell Bard “this code didn’t work, please fix it,” and it will help debug.

It can also translate code from one language to another and explain code snippets, a helpful feature for those new to programming.

Bard, which was created to compete with ChatGPT and other language models, didn’t quite stack up to its AI peers in TechCrunch’s own testing on chatbot performance. This latest set of skills could help Bard at least keep apace with ChatGPT and Claude — at least on paper.

How well Bard is able to create, translate and debug code is another question.

As Bailey cautioned in the blog post, Bard is still an early experiment and “may sometimes provide inaccurate, misleading or false information while presenting it confidently.”

For instance, Bard may give developers working code that is incomplete or doesn’t produce the expected output.

“Despite these challenges, we believe Bard’s new capabilities can help you by offering new ways to write code, create test cases, or update APIs. If Bard quotes at length from an existing open source project, it will cite the source,” Bailey wrote.

source

Rinsu Ann Easo
Rinsu Ann Easo
Diligent Technical Lead with 9 years of experience in software development. Successfully lead project management teams to build technological products. Exposed to software development life cycle including requirement analysis, program design, development and unit testing and application maintenance. Has worked on Java, PHP, PL/SQL, Oracle forms and Reports, Oracle, Bootstrap, structs, jQuery, Ajax, java script, CSS, Microsoft Excel, Microsoft Word, C++, and Microsoft Office.

You May Also Like

JPMorgan Pilots Software to Monitor Junior Bankers’ Working Hours

New initiative aims to enhance oversight of junior employee hours worked.Highlights: JPMorgan tests software to monitor working hours...

Goldman Sachs to Implement Performance-Based Staff Cuts in April

The bank plans restructuring amidst shifting financial landscape.Highlights: Goldman Sachs plans performance-based staff cuts in April.The restructuring aims...

Nasdaq Secures SEC Approval for Trading Tokenized Securities

This marks a significant advancement in digital asset trading.Highlights: Nasdaq gains SEC approval for trading tokenized securities.This approval...

Aveni Launches Agentic AI Council to Enhance AI Ethics

New council aims to guide ethical AI development and deployment strategies.Highlights: Aveni establishes the Agentic AI Council for...