DEV Community

Cover image for Clean Code With AI
Maxi Contieri
Maxi Contieri

Posted on

8

Clean Code With AI

Mastering Clean Code with ChatGPT and Gemini

TL;DR: This is my talk a at Tech Excellence on combining Artificial Intelligence and Clean Code

Summary

How can you leverage ChatGPT, Gemini, Copilot and other assistants to write clean code? What instructions should you provide them? How do you configure them to assist you?

Code assistants were trained on datasets that were not so well curated. You often ask them for solutions that meet requirements but do not reflect good designs. However, with some instructions, you can indicate how we want them to assist you. In this way, their solutions will comply with good development practices and be customized according to your rules.

You will see concrete examples and tips to make the most of these magnificent tools by combining your creativity with all available knowledge. After watching the talk, you will be able to explain your own rules for immediate assistance in your studies, work, and more. This will enhance your professional career, preparing you for the future demands of the job market.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more