My counterpoint would be: If you can write data visualizations with code, why not write diagrams too?
Or a screenplay?
(Because there are better formats for them)
Vs. Cooking or Writing which aren't coding practices unto themselves.
Screenplays... are already written in code, partly. If they weren't, they'd include quotation marks and "she said" after every line.
Yaml isn't really code in the same sense as python is, and Shakespeare didn't write in code in the same sense that the diagrams in this article are.