r/AIcodingProfessionals • u/Marmelab • 1d ago
Discussion Do developers still need frameworks in the age of coding agents?
I've been wondering about this a lot lately. Coding an app from scratch takes way less time with agents now, but faster doesn't always mean cleaner or more maintainable lol. It seems like a lot of the time agents produce piles of code for problems that were solved years ago.
Starting from a framework the model already knows seems to help. I tested this by building a simple admin app twice: once with a framework and once from scratch. I tracked token usage both times and it turned out that the framework version used about 25% fewer tokens and was roughly an hour faster.
There's a catch though. If the agent can't access the framework's docs directly, it starts fetching pages from the web one by one, and at that point the framework can actually make things slower than just building from scratch. So a lot of the benefit comes down to how well the agent can actually understand and work with the framework.
What actually bothers me is the other side of it. Tailwind’s creator posted some interesting numbers on GitHub back in January: usage tripled, but documentation traffic went down about 40%, and revenue went down about 80%. The code still gets used but people just aren’t showing up anymore.
Are you still using frameworks when coding (with agents)? As someone who genuinely loves the OSS ecosystem, I really wonder where this is all heading.
2
u/Prudent-Ad4509 1d ago
Frameworks are the single best hope for them. If you don’t have one ready then you will have to build it.
2
u/DominusFL 1d ago
If you want to manage bloat, share resources, and manage efficient deployments, then yes, you definitely still need frameworks. It's not just about doing things the same way for more than one project; it's also about projects being able to share unified resources.
1
u/pvera 1d ago
I made mine respect ours, it knows the abstractions and where they are documented. It will stick to them but still looks for flaws and suggests fixes.
1
u/TrekCZ 1d ago
Sometimes it is advantageous to build own framework for project instead of using existing one.
1
u/gokkai 1d ago
in golang no not really, but mostly because stdlib is so strong
1
u/geraT-wogl 1d ago
I'm not using neither frameworks or assets, just plain html css and js. here's my work https://wogl.io some hate it some love it, feel free to check for yourself 💚
1
u/sn0wquake 1d ago
Really depends on what you are building. Some frameworks have a bunch of stuff built into them around security, authentication, logging, etc. Other data manipulation frameworks have a bunch of underlying drivers / connectivity built in out of the box.
I would expect that kind of stuff to remain pretty valuable because there isn't value in rewriting and keeping up with the changes.
1
u/RogerAI-fm 1d ago
Yes! Very important even more maybe.
1
u/symbiatch 22h ago
Define “framework” first. It could mean one of many things.
And what kind of admin app? Was the result exactly the same? Or just “well it does the same stuff”?
And if you think speed of building is the main thing…
And I guess you’d handle ARIA etc perfectly yourself also, right?
(Also Tailwind is a hell that should not exist)
1
u/Minimum_Hour519 22h ago
yes but we can use anything not just react now
1
u/titpetric 18h ago
In the age of coding agents there's a redefining of the project manager role - you probablly don't need it for simple outputs.
I notice there's a distinct lack of MariaDB, MySQL or other major players getting rust forks of their shit. Engineering taste and judgement is a psyop
0
u/geekichu 1d ago
so, far in my experience, I have been able to stay away from frameworks , 3rd party anything. (web apps)(node,javascript, CSS, HTML, whatever is standard browser stuff)