DEV Community

Discussion on: Should comments in code be considered failures in coding?

Collapse
 
stereobooster profile image
stereobooster

What is the definition of "failure" in this context? It means something bad will happen or happened, right? But what? What are the consequences?

Collapse
 
rossdrew profile image
Ross

I would say a failure to write understandable code. A failure to write a intuitive abstraction of a given problem.

That could -for example- be failure

  • to gather enough requirements
  • in the understanding of requirements
  • of language choice, it being not expressive enough for the domain
  • in abilities in order to express the problem in an intuitive way