News for hackers. Stuff that matters.
Re:The Guide to Software Architecture Documentation by rickette on Sunday January 22, 2023 @07:19PM (#34483876)
Big fan of C4. It's so simple most devs can contribute once some groundwork (initial diagrams) are done. Benefit is that software architecture is owned by the team, not just the architect.

Haven't used arc42. Seems mostly a German thing. Has anyone outside German speaking countries experience with it?

Re:The Guide to Software Architecture Documentation by tmountain on Sunday January 22, 2023 @07:40PM (#34484030)
C4 is where it’s at. Simple enough to learn but comprehensive enough to be effective.
Re:The Guide to Software Architecture Documentation by 29athrowaway on Sunday January 22, 2023 @07:47PM (#34484081)
> "It's so simple most devs can contribute"

Oof... a lot to unpack in this phrase.

You would be surprised to learn how much "devs" actually know.

They may even recalibrate your ego a little bit if you were open to receive feedback.

Those "devs" are the people that have to turn architectural documentation into reality, sometimes ignoring it completely.

Re:The Guide to Software Architecture Documentation by Aeolun on Sunday January 22, 2023 @07:51PM (#34484110)
I think they’re talking about the difference between senior and junior devs here.
Re:The Guide to Software Architecture Documentation by sbarre on Sunday January 22, 2023 @07:58PM (#34484147)
Or just about the fact that in large enterprises a lot of the diagrams are owned by architects, and they're done in some esoteric inscrutable format where only the architect can make changes and updates to it _after_ talking to the developers.

I don't think this was a knock against developers.

Re:The Guide to Software Architecture Documentation by rickette on Sunday January 22, 2023 @10:01PM (#34484956)
Exactly, I'm a dev myself.
Re:The Guide to Software Architecture Documentation by rickette on Sunday January 22, 2023 @10:10PM (#34485030)
"most devs" was meant as "most fellow devs". My whole point is to make architecture documentation a team activity.
Re:The Guide to Software Architecture Documentation by blowski on Sunday January 22, 2023 @07:53PM (#34484122)
I base my architecture docs off the arc42 document. It’s useful as a base but always needs adapting to the specific system being documented.
Re:The Guide to Software Architecture Documentation by rubicon33 on Sunday January 22, 2023 @10:50PM (#34485261)
Do you have any tools or guides to recommend for devs wanting to learn how to create "C4" documentation?
Re:The Guide to Software Architecture Documentation by zeisss on Monday January 23, 2023 @12:31AM (#34485832)
Re:The Guide to Software Architecture Documentation by rubicon33 on Wednesday January 25, 2023 @11:16PM (#34527621)
This is helpful, thank you
Re:The Guide to Software Architecture Documentation by victor96 on Monday January 23, 2023 @01:39PM (#34493027)
We created an interactive Miro workshop for teaching the C4 model structure.

https://miro.com/miroverse/c4-model-getting-started-workshop...

Re:The Guide to Software Architecture Documentation by rubicon33 on Wednesday January 25, 2023 @11:16PM (#34527620)
awesome, thank you!
Re:The Guide to Software Architecture Documentation by MrJohz on Monday January 23, 2023 @01:57AM (#34486245)
I like the concept of C4, but when I was using it, I struggled a lot with the feeling that we never really ended up creating diagrams that we'd later use. As in, we'd have a diagram in the documentation, and maybe I'd look at it occasionally if I wanted to remember the name of a particular component, but most of the time when we actually wanted to discuss architectural decisions or explain the system to a newcomer, we would just draw new diagrams on a whiteboard somewhere and discuss those instead.

The C4 model felt very comprehensive, but by being comprehensive, it failed to actually represent the salient points of the systems we were describing. Move up a layer, and you failed to capture some extremely relevant detail, move down a layer, and you had a bunch of extraneous information all over the place. In practice, most of our diagrams would be zoomed in on a handful of components, and represent other components as a kind of convenient lie. Which obviously wouldn't work if you wanted to understand the whole system at once, but that was rarely out goal when using diagrams.

I think it just felt more focused on the formalism rather than the expression, like drawing flowers according to a guide for drawing roses, and then getting into difficulties when you need tulips.

Re:The Guide to Software Architecture Documentation by specialist on Monday January 23, 2023 @11:00AM (#34490418)
In my experience, our internal documentation had two tangible benefits.

The team explaining to itself what they were working on. That process was the value. Consensus and alignment. Akin to forging culture. The artifacts generated were ephemeral. Basically performance art.

Managing upwards. PHBs want to see pretty pictures.

Re:The Guide to Software Architecture Documentation by andorov on Tuesday January 24, 2023 @04:06PM (#34510378)
Also changes to the diagram (at a certain resolution) require looping in specific senior people for review.
Re:The Guide to Software Architecture Documentation by zorg42 on Monday January 23, 2023 @05:01AM (#34487109)
All of the arc42 documentation is written in English, and the template itself is available in seven different languages.

See, e.g., https://docs.arc42.org

Apart from one of the founders (me) being German, it's no "German thing", but hopefully helpful to all kinds of systems.

Re:The Guide to Software Architecture Documentation by rickette on Monday January 23, 2023 @05:02AM (#34487116)
Tx, good to know.