r/webdev • u/fagnerbrack • 18d ago
Agentic Coding: Bet on the Primitives
https://www.robinwieruch.de/agentic-coding-bet-on-primitives/
59
Upvotes
r/webdev • u/fagnerbrack • 18d ago
43
u/electricity_is_life 18d ago
I did a lot of data viz work in my last job (like, a lot a lot) and I actually think this was true before LLMs as well. Chart libraries are good if you just want "a bar chart" and don't really care that much about the details, but as your needs get more specific doing it custom quickly becomes the better approach. Otherwise you soon find yourself fighting with the library and finding awkward workarounds for things that aren't implemented the way you need.
7
u/Tasio_ 17d ago
This doesn’t feel all that different from a non-AI approach. Frameworks provide guardrails and make code easier to structure, understand and maintain. But when your requirements fall outside what a framework supports, and you need to extend it or work around its assumptions, those benefits can quickly disappear
13
u/hypercosm_dot_net 17d ago
If there's a library that's flexible enough to give you control of your branding, animation, and tooltips (the specific ownership item he points out), then it seems the rest of this is moot.
There's no good reason to "roll your own", and then have to maintain that, if the library allows for what you need (and is well maintained).
This is something that developers have always needed to balance — making decisions based on the tools available, and how well-suited they are for the project.
LLMs allow for a bit more capacity to own and maintain things that you might not have the capacity to do otherwise, but that is still adding work to the stack, maybe unnecessarily.
2
u/winky9827 17d ago
This matches my experience recently as well. Some libraries provide everything you need, but many only get you ~80% of the way there and still require a moderate amount of work to get it right. If the library in question is mostly a wrapper around a base project, AI removes the grunt work of merely extending the base project to suit your needs. And you can skip the extra dependency. AI makes it vastly easier to do something you already knew how to do anyway but avoided previously because of the extra time required that wasn't budgeted for.
2
u/omega996 17d ago
the article frames this as an llm question. the real shift is ownership: custom chart code is now cheap to generate and expensive to change six months later. a library moves that cost into a changelog you can at least read.