This whole notion of "documentation can get out of sync with the code, so it's better not to write it at all" is so nonsensical.
I do believe that in a lot of case an outdated, wrong or plain erroneous documentation does more harm than no documentation. And while the correct solution is obviously "update the doc when we update the code", it has been empirically proven not to work across a range of projects.