DEV Community

Why I don’t buy into “Self explanatory code”

Sami supreme on September 15, 2023

I think most people would be blown away once they see how heavily complex codebases are commented. I don’t buy into “Your code should be self expl...
Collapse
 
endorama profile image
Edoardo Tenani

The idea that code document itself is just flawed, it misses the other 50% of the story. The code may document itself, what you need to understand are the developer intentions & the domain specificities :)

Collapse
 
hasanelsherbiny profile image
Hasan Elsherbiny

i think some people are just thinks that "Your code should be self explanatory" and "Don't add comments or documentation".
after few days let him/here reread the code they wrote and they wouldn't understand it ,maybe it's self explanation is expired 😂😂