DEV Community

Eric Meadows
Eric Meadows

Posted on

2

Code Comments Are Not Enough

If your code comments are sufficient enough to tell a story, why do we onboard engineers using pair programming?

Top comments (1)

Collapse
 
brense profile image
Rense Bakker

I never get onboarded using pair programming. There is usually some explanation required about the business domain, but other than that the code should speak for itself, without comments. For example i dont give two shits if you have a comment in your React component

// side-effects

followed by a bunch of useEffect hooks. I can already tell its a side-effect from the fact that it's wrapped in a useEffect hook...

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay