DEV Community

Discussion on: Which contentious opinions in programming actually matter?

Collapse
 
georgeoffley profile image
George Offley

While I think you should always write your code in a way that the next person can come along, read through and understand what the code does. I do however think comments are still necessary. The human readable code is great for reading what the code does. However, comments can provide what code cannot. Context. It was done a certain way because of x, y and z. It allows you to enter the mind set of the original coder. And their thought process in doing something a certain way.