Google taught its chatbot to code in 20 programming languages
Chatbot Bard will be able to generate code on demand and optimize the proposed scripts

Google’s chatbot, Bard, has been designed to aid programmers with writing and editing code. The neural network supports over twenty programming languages, including C++, Go, Java, JavaScript, Python, and TypeScript.
Bard’s capabilities extend beyond generating code on demand and refining proposed scripts. It can also provide hints for code snippets, aiding beginners in learning programming. Additionally, the chatbot can optimise work processes, enabling users to write code at a faster pace.
Bard can interact with Google services, enabling code to be exported to the Colab cloud development environment or functions to be written for Google Sheets.
Google acknowledges that Bard may make errors, as it draws from open source projects as sources. Consequently, the chatbot’s generated code is worth checking.
In the past, Bard has made mistakes, such as wrongly attributing a discovery to the James Webb telescope, resulting in a loss of $100 billion in Google’s capitalisation.