Skip to main content
  1. Home
  2. Computing
  3. News

Digital Trends may earn a commission when you buy through links on our site. Why trust us?

Google Bard just took a big step toward being a proper ChatGPT rival

Add as a preferred source on Google

The Google Bard AI chatbot can now complete various programming and software development tasks such as code generation, code debugging, and explanation of code.

This was an important missing feature in Bard’s ability to compete with ChatGPT, the most popular AI chatbot right now.

Google Bard
Image used with permission by copyright holder

Google announced the update of Bard on Friday on its blog, stating that it has been one of the primary requests from users since the launch of the AI chatbot in March. Bard can assist with generating, debugging, and explaining over 20 different programming languages including C++, Go, Java, Javascript, Python, and Typescript. It can also export Python code to Google Colab without needing to copy and paste, as well as aid in writing functions for Google Sheets.

Recommended Videos

Google noted an especially helpful part of the Bard update is its ability to explain parts of code to used, stating it might be helpful for those who are new to programming, or if someone is stuck on a particularly difficult block of code.

When it comes to debugging, if you get an error with Bard, you need only input this code didn’t work, please fix it, and the chatbot will assist in correcting the defective code. Google noted that Bard can even debug code that it developed.

As a project still in its early experimental phase, Google notes that Bard might produce information that is inaccurate, misleading, or false. It encourages users to double-check the chatbot’s responses and test for errors, bugs, and vulnerabilities before using it for any independent works. Even so, the brand is confident that Bard’s new coding capabilities can be beneficial in assisting users in their own projects.

Google said other tips include the prompt could you please make that code faster. Another easy prompt to use is find error handling clauses you might have missed.

Bard was released as Google’s chatbot rival to OpenAI’s ChatGPT, which is also the power behind Microsoft’s Bing chat. While Bard has similar functions to ChatGPT, a report from Bloomberg indicates that some Google employees have little faith in the chatbot and feel that the project was rushed to launch in an effort to compete with OpenAI and Microsoft.

Notably, code debugging and code generation were some of the many interesting tasks users showcased on ChatGPT when the chatbot first became popular. However, the tool has its own challenges, such as high-traffic and capacity issues. OpenAI is also struggling to keep up with the costs that it takes to maintain its operations.

With Google’s latest update of Bard, this could be an opportunity for the brand to grab the attention of those interested in a specific niche of generative AI tools and use the ever-changing landscape to its benefit.

Fionna Agomuoh
Fionna Agomuoh is a Computing Writer at Digital Trends. She covers a range of topics in the computing space, including…
Apple’s Hide My Email feature has an unfixed bug that leaves email addresses exposed
100% exploitable in limited testing, known since June 2025, and still unfixed as of today.
apple-merging-sign-in-with-apple-hide-my-email-icloud+

Apple has been selling Hide My Email to keep your real email address hidden, but it has a vulnerability that does the exact opposite. The worst part is that the company has known about it for a year. 

Hide My Email, part of Apple’s paid iCloud+ subscription, lets users generate anonymous email addresses for signing up to a website, so that their personal or work email remains free of promotional emails and spam. 

Read more
I hate sharing my Mac, but a face-unlocking app finally cured my privacy paranoia
Someone finally built the app locker every Mac user has been asking for.
FaceGate in action on Mac

If you have ever handed your Mac to a friend, family member, or coworker for "just a minute," you know the mild panic that follows. Sure, your Mac has a lock screen, but once someone is past it, they can open Messages, Photos, Notes, Mail, WhatsApp, and your browser.

iPhones had the same issue, but Apple solved it by adding an app lock feature with the iOS 18 update. Sadly, no such feature exists for macOS. That’s where the new FaceGate app for Mac can help you. It’s a free and open-source app that lets you lock apps on your Mac and even has some novel tricks up its sleeve. So, let’s talk about it, shall we?

Read more
The charm of a tiny Windows tablet is apparently dead at Microsoft. Long live the Surface Go!
Microsoft’s budget Surface era may be over
Microsoft Surface Go 3 stand.

Microsoft might be cleaning up its Surface lineup. According to Windows Central, Microsoft has stopped manufacturing the Surface Go and Surface Laptop Go lines, with no successors currently planned. Surface Go 4 and Surface Laptop Go 3 are reportedly out of stock in most places, and once remaining retail stock is gone, that may be it.

If this is true, then we are looking at the end of the brand's budget Surface PCs as Microsoft has plenty of premium Windows hardware.

Read more