Boxes and Lines: A Feline Guide to C4

Boxes and Lines: A Feline Guide to C4

Elfi is a Ragdoll cat who lives with software architect Ralf D. Müller. She has opinions about software development. This is her column.

Today the hooman tried to explain C4 diagrams to me. He said they are called "Boxes and Lines."

I have been an expert in Boxes and Lines for five years. My credentials are impeccable. I sit in boxes. I walk on lines. I have never met a diagram I could not improve by sitting on it.

He showed me the four levels.

Level 1: Context. I am the context. Everything in this household exists in relation to me.

Level 2: Container. I prefer cardboard. The hooman prefers Docker. We have agreed to disagree, though I notice he has never once tried sitting in a Docker container. His loss.

Level 3: Component. I review every component by sitting on it. If it supports my weight, it is production-ready. If it does not, it needs refactoring.

Level 4: Code. This is where I draw the line. Literally. With my tail. Across the keyboard. The hooman calls this "a merge conflict." I call it an editorial decision.

He asked me to stop walking on his architecture diagrams. I told him they were improved by the paw prints. He did not agree. But he also did not move me.

I am now offering C4 consulting. Boxes supplied by the client. Lines drawn at my discretion.

-- Elfi

P.S. Whoever invented this model: it is sound. It just needed a feline perspective.

LinkedWild