Google Bard has just released a suite of new coding and debugging features to help developers create better software faster.
Earlier this year, it was reported here about how Google opened up its first conversational AI chatbot, Google Bard, to a wider set of users.
In its initial iteration, Bard was extremely limited in capability — especially compared to its chief rival ChatGPT.
However, Google has promised that Bard will gradually see a series of updates that will eventually make it as capable as ChatGPT (or even better) in the days to come.
True to its promises, Google has constantly been updating Bard with new capabilities.
Late last month, Bard incorporated something known as PaLM (Pathways Language Model), which improved the chatbot's response to math and logic-related questions.
When this happened, Google also announced that its next major goal would be to equip the chatbot with the capability to write and debug code.
On April 21, 2023, Google fulfilled this promise and confirmed that Bard has been updated with the ability to not only generate new codes but also debug them and provide users with explanations.
In the blog post announcing the update, Google confirmed that the ability to help with programming and developmental tasks was one of the top-requested features among Bard users.
Google also confirmed that Bard is getting the capability to natively export Python code to Google Colab without having to copy-paste anything.
In the blog post announcing the changes, Google's Group Project Manager Paige Bailey confirmed that the new changes to Bard also endow it with the capability to explain code snippets — making it easier for learners and novice users to understand coding.
Additionally, this feature can also be used by experienced coders to grasp the expected output from a selected block of code.
Paige also explains that Bard can be used to debug a code that isn't working as expected.
The process itself is as simple as typing, "This code didn't work, please fix it." Bard will then try to debug the code and provide an explanation as to what really went wrong.
In addition to these features, Bard has also gained the ability to cite the source of a code, especially if it has been taken from an existing open-source project.
Another key area where Bard can be helpful to coders is its ability to optimize an existing piece of code.
Again, all the user needs to do from their end is to ask Bard to make the code faster.
Even with these newfound capabilities, Google still insists that Bard is in an experimental stage and that it could occasionally come up with unexpected outputs and sub-optimal code.
The company insists that developers shouldn't wholly rely on code generated by Bard alone without actually verifying it themselves.
NCR Nigeria PLC was incorporated in Nigeria under the Companies and Allied Matte...LEARN MORE
Omatek Ventures Plc is a Nigeria-based holding Company that was founded in 1988 ...LEARN MORE
Chams PLC is Nigeria’s leading provider of integrated identity management ...LEARN MORE