News for hackers. Stuff that matters.
Re:Diagrams · Diagram as Code by alanbernstein on Tuesday November 05, 2024 @01:47AM (#42049167)
Recipes absolutely should be written in code. If I could view source, copy the recipe yaml, and paste into my personal recipe manager app, it would be much more convenient.

Screenplays... are already written in code, partly. If they weren't, they'd include quotation marks and "she said" after every line.

Re:Diagrams · Diagram as Code by Closi on Tuesday November 05, 2024 @11:33AM (#42052891)
I think this is too loose of a definition of code...

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.

Re:Diagrams · Diagram as Code by alanbernstein on Monday November 11, 2024 @05:45PM (#42111130)
Well, you're right about that, but then they were your examples.