Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

admin
Pinned July 29, 2023

<> Embed

@  Email

Report

Uploaded by user
Natural Language Programming AIs are taking the drudgery out of coding
<> Embed @  Email Report

Natural Language Programming AIs are taking the drudgery out of coding

Google gives Bard the ability to generate and debug code

 

Mariella Moon
Mariella Moon
 

Google’s Bard chatbot now has the capability to help you with programming tasks. The tech giant said that coding has been one of its users’ top requests, and now it has given Bard the ability to generate, debug and explain code. Bard can now write in 20 programming languages, including C++, Java, JavaScript and Python. It now also features integration with Google’s other products and can export code to Colab, the company’s cloud-based notebook environment for Python, as well as help users write functions for Sheets. 

Aside from being able to generate code, Bard can now provide explanations for snippets of code. It could be especially useful if you’ve only just started learning programming, since it will show you why a particular block has the output that it has. And yes, Bard can now also help you debug code that isn’t quite working like you want it to. 

Google admits that at this point, Bard might spit out code that “doesn’t produce the expected output” or code that’s incomplete. The tech giant advises double-checking and testing its responses first. In fact, Bard can debug its own output if you find that it’s returning an error — just type in “this code didn’t work, please fix it.” Finally, if you’re not a programming beginner but still need a help of help, you can ask the chatbot to optimize your code by making it faster or more efficient.

 
Natural Language Programming AIs are taking the drudgery out of coding | DeviceDaily.com

The tech giant opened up access to its AI chatbot in March, though it still has a ways to go to reach the popularity that ChatGPT is enjoying today. To note, ChatGPT has the ability to write and improve existing code in several programming languages, as well, so Google giving Bard the capability is perhaps inevitable. Google has also been constantly improving Bard in other ways and previously rolled out upgrades powered by a new language model called PaLM. A few days ago, the company created an “experiment updates” page where you can see all the changes Bard has gone through as it adds even more features and performs bug fixes. 

 

Engadget is a web magazine with obsessive daily coverage of everything new in gadgets and consumer electronics   

(17)