this post was submitted on 15 Nov 2023
0 points (50.0% liked)

Programming

355 readers
1 users here now

This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.

founded 2 years ago
 

Comments in code are quite often a code smell. Let’s see what is suboptimal about comments and talk about some strategies to avoid them.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 months ago (1 children)

I guess one could understand why the author believes this if his experience has been (mostly) limited to poorly commented code.

[–] [email protected] 1 points 11 months ago

I have also seen well commented code, but in this article I concentrate on the bad ones. Are you saying you have never seen a bad code comment?