Good comments should explain *why* you are doing something and the thought process behind it. For everything else you have self explanatory function, class, and varibale names.

The examples generated by the AI here looks like code from a junior dev who didn't get the idea behind comments yet.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Johannes Gontrum
Johannes Gontrum

Written by Johannes Gontrum

❤️ building prototypes & MVPs for early-stage startups ⚙️

No responses yet

Write a response