DEV Community

Discussion on: Any tips and tricks for code documentation? #discuss

Collapse
 
sandordargo profile image
Sandor Dargo

I completely agree with you. The best documentation is the code itself, mostly without comments and good bunch of unit tests.

If you make any comments, they shouldn't be about the whats (the names should be clear enough to make such comments superfluous), but they should be about the whys, about intentions.