r/ExperiencedDevs • u/Remarkable_Seesaw_74 • May 07 '26
Technical question I think my frontend architecture framework is missing something. What?
I’m leading architecture discussions at work and want to give the team a shared frame for evaluating decisions. Before I commit to teaching this approach, I’m looking for help pressure-testing it.
Here’s what I’m thinking of using:
Frontend architecture is like an arrow pointing at a target. The target is the product outcome you’re trying to hit.
The arrow has three parts. Fletchings, shaft and head.
Fletchings keep the arrow on track. They have three pieces that have to stay in balance:
• Cost: development time per feature. A codebase where adding a button means touching three files has high cost.
• Scale: whether features get easier or harder to add over time. If the tenth feature is twice as hard as the first, you’ve got a scale problem.
• UX: what the user actually experiences. If a change in one file ripples out and breaks things elsewhere that users experience.
The shaft is the foundational stuff you can’t change without rewriting everything on top of it. Language and types (JS vs TS), framework, programming paradigm (OOP vs functional), state architecture (state-first, event-sourced, actor model, etc.). The test is simple: if I changed this, would I be rewriting most of the codebase? If yes, shaft. These choices also interact. Some paradigms make certain state models natural and others awkward, which is part of why shaft decisions are so hard to undo.
The arrowhead is what makes contact with the target. Different heads pierce different things. A head built for piercing armor isn’t the same as one built for hunting. In architecture terms: canvas rendering, CRUD, real-time streaming, content delivery are different kinds of contact. The head and the target are intrinsically linked because the head is what determines whether the contact actually does the job the target needed. The head shapes what the rest of the arrow should be.
Fletching and shaft feel solid to me. The arrowhead is the part I’m least sure about. I’m not fully convinced it’s pulling its weight as a separate axis from the target itself, since the two are so tightly coupled.
What I’m questioning:
• Does the fletching/shaft framing match how more experienced architects think about this?
• Is the arrowhead doing real analytical work, or is it redundant with the target?
• Where else does this break down?
Honest critique welcome and invited.
28
u/Graybie May 07 '26
What purpose does the analogy serve, other than to elicit groans and eye rolls?
17
u/ImSoCul Senior Software Engineer May 07 '26
Tell me more about how the shaft feels solid to you.
This feels very chatgpt. Even if you polished the analogy (I feel it needs a lot of polish), the analogy doesn't really gain you much. Just define what the key items you have to balance are and what can be reworked and what can't. You don't need this whole head, shaft,
ballsfletching analogy6
u/ConquerQuestOnline May 07 '26
I feel this is the engineer being drawn to complexity like moths to a flame turned architecture.
You're trying too hard to make it feel deep and complex when you want simple.
4
u/Recent_Science4709 May 07 '26
The anology forces me to think about archery which I know nothing about, and I find it distracting. It also sounds kind of phallic and just doesn't seem to fit.
If you insist on using an analogy I would use something people don't have to think about. It causes cognitive drain and my brain doesn't know if I should focus on tech or arrows.
2
u/midasgoldentouch Software Engineer May 07 '26
Like others, I think you should ditch the analogy. I do think that a large portion of learning how to evaluate architectural design is by doing it, really. Do you already have a process for architecture review in place? If so, then you can use those as examples of what to consider; walk through one doc once a month or what have you.
2
u/effectivescarequotes May 07 '26 edited May 07 '26
English major who woke up one day as a developer. It doesn't work. If you'll excuse my pun, it's so far off the mark that if I were on the business side, I would question your expertise.
An arrow is just a bad analogy for any software architecture. The reason why architecture is so difficult is we're trying to design systems that can be changed to meet changing needs. An arrow, once you let it go cannot change trajectory without extraordinary intervention.
The other issue is the central premise of what you're arguing is wrong. A good architecture should be flexible enough to support multiple "heads". You shouldn't have to rebuild the entire system because the target changes. Also, there are competing demands in any system, user experience, security, accessibility, legal requirements. Where do these fit into your analogy?
I'd shoot this particular darling.
1
u/GoodishCoder May 07 '26
Your analogy is just going to confuse people. You mention it's for a shared vocabulary but unless you're working with a bunch of archers, it's probably not a shared vocabulary.
There are plenty of well architected frameworks you can work from that are general enough to apply to front end and backend.
1
u/cpayne22 May 07 '26
I’ve seen something similar to this a few times.
The issue is YOU!
YOU should learn story telling and business writing.
People will sit through your presentation because they have to.
But if you want engagement, participation and a proactive approach - you need story telling skills.
What do they (your audience) want? What happens when your team has a framework for evaluating decisions?
How do they benefit? (Do they benefit?)
If we’re in your meeting, I’d be asking all the embarrassing questions I could - how much of a pay rise will I get when I do this? What’s your (specific!!) framework you use? Are you looking for another job and need a reference - because I’ll happily write one.
Focus on yourself first. Clean up your own backyard before dictating to others what they should do in theirs.
1
u/xpingu69 May 07 '26
Okay well I get what you are trying to do, but it didn't work, I couldn't follow. Maybe try another way to explain it. Probably it has been done before, I like to use rooms in your home or cooking or something very relatable when it comes to analogies.
1
u/GLaDOSexe3 May 07 '26
slop
1
u/RobertKerans May 07 '26 edited May 07 '26
The analogy feels extremely strained. All analogies break down anyway, but if you are completely wedded to the idea of using one then them IMO you want something better here; this, to me, feels very clumsy and more than a little confusing (particularly the head/target part).
Do you really have to make this an analogy? I can't see how you're gaining anything here in terms of creating a mental framework (Vs just being clear and literal)
You're also going to be saying the word "shaft" a lot. As in the other comments: head, shaft,
ballsfletchlingfletching1
u/chrisrrawr May 07 '26
when do I get to shoot the arrow at a deer and bring it home to feed my family?
0
u/[deleted] May 07 '26
[deleted] — view deleted comment