DEV Community

Discussion on: "Do not comment on your code, it should be self-documented". Well... I don't agree.

Collapse
 
koire profile image
Koire • Edited

I always argue for documentation comments, and against random comments.
*Doc, if it's written well is always welcome. One line comments before a function call of the same name are generally terrible!

#publish post
self.publishPost(post)
Enter fullscreen mode Exit fullscreen mode