Skip to content

u/Seth_os

In this archive from Feb 2021 to Dec 2026

1
posts
17
comments
0
media
59
score

Top posts

Lets talk about the future of Laravel

TL;DR Laravel remains my framework of choice, and I intend to experiment with the Rust version. However, recent developments in AI and software security are changing how at look at frameworks in general. This is my perspective, based on years of software development and DevOps experience. I'd just l...

20 points30 comments
Open on Reddit

Top comments

I did this for an old PHP 5.6 project to upgrade it to 7.4 I believe. The project has more than 10 000 references to mysql_query(), so instead of rewriting the whole thing, I made one file that made checks if mysql_query() is set as a function and, if not, make it.

Then, I made the rest of the old functions in PDO and also mapep the outputs to be the same.

It was a dirty fix but improved the performance by a huge margin.

4 points

For example, an agent will happily add the same query 50 times, then suggest caching it to make it faster. However, a human would put that query somewhere central and give it one reason to change, then reuse that throughout the request.

This is what I meant when I wrote about me using my custom LLM skills to guide the agent to use Auth::company() instead of copy/paste the same query over and over. And it works flawlessly.

Yes, they can't reason these things by themselves, but for how long?

3 points

but that's my whole point, only a few months ago we were at the point where people would say
"well sure, agents can write good boilerplates for specific methods, but we're not there yet to expect them to build full features".

Yet here we are.

Routes, Models, Controllers... these things arent some abstract ideas, they are defined principles that are, in fact, language agnostic.
So what is there to say that AI will not be able to make you a complete framework from scratch if you just prompt:
"build me an app that does XYZ in this language".

Again, muting the whole point of using any public framework.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.