DEV Community

Discussion on: What's worse: Stale documentation or no documentation?

Collapse
 
qm3ster profile image
Mihail Malo

That's where doctests come in.

Thread Thread
 
mcsee profile image
Maxi Contieri

What is their added value?

Thread Thread
 
joelbonetr profile image
JoelBonetR 🥇

What do you understand as "value"?

Thread Thread
 
mcsee profile image
Maxi Contieri

The add value that doctests add

If I see a point I will start to use them instead of removing them

Thread Thread
 
qm3ster profile image
Mihail Malo

Usage examples that never go stale because they are tests that run.