upvote
You don't understand CRUD complexity if you think its easy to automate CRUD away.
reply
But I do and I have. Other people have done it too, so you don't even need to do it yourself. There are libraries like Scala's Shapeless that give you the tools to deal with large swathes of these problems.

CRUD cannot be as complex as you're claiming, because if it was, you couldn't automate the work with AI either. A prompt has what, 200 bits of entropy? If AI produces more "informational value" than that per prompt, it either means the AI is making assumptions because you underspecified (which either won't matter so it had no "informational value" after all, or are gonna bite you in the butt later), or you were working inefficiently. It's probably a bit of the former and a lot of the latter.

Whether someone should have automated crud pre-AI is a different question, because that also takes time, and their employer probably didn't want to bill the client for it. But I'd wager most webdevs wouldn't ever get that far, because they couldn't write something like Shapeless even with infinite budget. It's not a budget issue, it's that they lack the mathematical (algebra) foundations to do it.

reply
So I was curious about this mythical CRUD-solver and it looked… interesting, but literally none of the problems CRUD apps pose to me are “solved” by it. These days I am often not sure anymore what everybody means so I suspect it’s just me, but still. Just shoving data into structures is not the nasty part.. but I guess if only the data shoveling part is what “CRUD” means then sure. But does this magically generate proper responsibility boundaries and sane APIs? Does it version these APIs? How? Dates, currency, time? Does it propose a sane and workable authn/authz design? Database state, migrations? If so, I’ll love it. Yeah I know what you’ll say, we got libraries. Yeah. Like Socrates said, mo libraries mo problems.

I found the parent argument resonating with me. All “solutions” to CRUD I came across just cram the complexity of it somewhere they happen to think it should be and that’s fine I guess but I am not so sure about the “solving” part.

There is also that nasty reality of CRUD systems being as much social as they are technical, but I’ll see myself out now..

reply