Stop writing bad comments in your code — Tips for Clean Code | by Kyle Le | Level Up Coding
levelup.gitconnected.com · 668 words · saved by 1 readers
Introduction
Stop writing bad comments in your code — Tips for Clean Code Kyle Le 3 min read · Nov 17, 2022 -- 4 Listen Share Press enter or click to view image in full size Stop comment out your code please Introduction Comments are actually very useful in programming if they are well-placed. But most of the time comments are not that “good”. Bad comments can lead to misinformation, wasting time, create bad habits, etc. In this article, I will guide you how to avoid writing bad comments Bad Comments Out-of-date comments Comments that have gotten old, obsolete, irrelevant or provide wrong information. Comm
related reading
- Cognitive load is what mattersminds.md
- Mediumlevelup.gitconnected.com
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- How to be great at asking coding questions | by Gordon Zhu | Mediummedium.com
- Clever code is probably the worst code you could writeengineercodex.substack.com
- Mistakes I see engineers making in their code reviewsseangoedecke.com
- Here’s how I use LLMs to help me write codesimonwillison.net
- Some thoughts on writingdanluu.com
- What is good code?loup-vaillant.fr
- Good code is like a love letter to the next developer who will maintain it.addyo.substack.com
- Coding Models Are Doing Too Much | whnrehiew.github.io
- A Bunch of Programming Advice I'd Give To Myself 15 Years Ago | Marcus' Blogmbuffett.com