Google Bard Gains Code Generation and Debugging in Over 20 Languages
Google Bard now writes, debugs, and explains code in more than 20 programming languages, catching up to rival AI chatbots. Users can export Python code directly to Google Colab, though Google warns that outputs still require careful human review.
Google expands the capabilities of its Bard chatbot by introducing code generation, debugging, and explanation features. The AI tool now supports more than 20 programming languages, including popular options like C++, Go, Java, JavaScript, Python, and TypeScript. This update allows Bard to help developers write functions for Google Sheets and understand complex code snippets with ease.
To streamline the programming workflow, Google integrates Bard with Google Colab so users can export Python code with a single click. Despite these convenient new features, Bard still faces the same limitations as competitors like ChatGPT and Bing Chat. The tool occasionally produces incomplete code snippets or outputs that fail to deliver the expected results.
Because of these potential inaccuracies, Google strongly advises users to test and review all AI-generated code for errors, bugs, and security vulnerabilities before incorporating it into actual projects. Group Product Manager Paige Bailey expresses excitement about using generative AI to accelerate software development and solve complex engineering challenges, while maintaining a clear need for human oversight.