4 ms·
This is code to diagram, not diagram as code. I was hoping to see a tool that takes diagram sketches and outputs, e.g., Terraform. That would treat a diagram as
by ConspiracyFact 2y ago
This is code to diagram, not diagram as code. I was hoping to see a tool that takes diagram sketches and outputs, e.g., Terraform. That would treat a diagram as code.
- m1keil 2y agoNo, what you are describing is diagram to code ^_^
- Nevermark 2y agoLet's quibble! The phrase "A as B" tends to imply that "A" came temporally and causally first, then "B" was generated from "A" somehow. "B" is some kind of view, summary or transform of "A". So I read "diagram as code", as that we have a diagram, and we are going to interpret it as code. We start with a diagram, and get code. A lot of visual programming type projects are in fact, diagrams as code. Similar to the traditional text as (isomorphic to the) code (it is transformed into). But "code as diagram", is what we have here. We are viewing the code, which came first, as a diagram which summarizes it. In a lossy but useful way. The diagram cannot be executed, so there is no diagram (acting) as code.
- ConspiracyFact 2y agoYou explained it better than I could have.
- m1keil 2y agoInteresting. When I read "A as b", I read it as "A (represented) as B". Software as a service. Infrastructure as code. Diagram as code.
- ConspiracyFact 2y agoIn SaaS we’re really saying “A used as/for B”, not “A represented as B”. IaC fits your definition. I suppose that descriptive linguistics says that all of these contradictory uses are valid and their meaning is picked up through context. I still (stubbornly?) feel that my usage is a little more logical than others, though. “Starring Gene Hackman as Royal Tenenbaum”—this means that Gene Hackman portrays Royal Tenenbaum, not vice versa