| ▲ | gregoriol 4 hours ago |
| I disagree: I feel like it allows me to spend less time thinking on dumb things like a crud or upgrading a component from v3.x to v4.x, and instead have more time to think about bigger and harder things, architecture, long term, deployment. |
|
| ▲ | inshortok 3 hours ago | parent | next [-] |
| I have the completely unsubstantiated opinion that a lot of the "dumb" things actually fire the neurons we need to be proficient at the "smart" things. Coding by hand almost feels like learning the rules to a new board game. It's tough, it takes tenacity and a certain kind of intelligence (that we all have). Some people hate it. But it's an absolutely necessary step toward mastering (or simply enjoying) the game. |
| |
| ▲ | sedictious 3 hours ago | parent | next [-] | | I also share your unsubstuntiated opinion. To add to this, what people describe as "boilerplate" is rarely a thoughtless process. More often than not, I've questioned my decisions while writing scaffolding. Do I really need this class? Is there a way to automate this? If not, what differs? What can be abstracted? Some parts were tedious like keeping things consistent with provided Interface Documentation. Still I preferred going through the steps manually because I would also surprise myself by how many decisions I need to take and how many questions would pop up. Isn't this parameter a duplicate? Would this better serve us as a bitmask? How can we actually obtain X value that the interface states is supported here? This part is fairly low-taxing work that can be done with some music in the background but it's still an active process, helps reinforce your mental model and question things. The things that were purely mechanical were easily automated (at least in the recent past where we've had a gazillion of utilities doing the dirty work of parsing pretty much any exotic, yet moderately mature data format). I'm not saying LLMs can't do this work for you, but letting them do the "boring stuff" robs you of both agency and understanding because for the really "boring stuff" you don't need an LLM anyway. | | |
| ▲ | daemin 2 hours ago | parent [-] | | Delegating scaffolding and busy repetitive work to an LLM is a signal that there's an abstraction missing, the API has been badly designed, or that you're doing something in a bad way. Writing the code yourself does illuminate those things clearly and helps you build something better. Those that just use AI end up with more code, not better code, though that seems to be perfectly acceptable to the vast majority of people and organisations. |
| |
| ▲ | ArcHound 2 hours ago | parent | prev | next [-] | | I have some rudimentary research to substantiate your opinion: https://blog.miloslavhomer.cz/use-your-brain-even-if-the-mac... TL;DR: there's a study saying that thinking about simple things has more benefits than resting in the same period to achieve the harder stuff. There are also factors contributing to burnout. | |
| ▲ | Lerc 3 hours ago | parent | prev [-] | | So why do you not program in a hex editor, assembling the opcodes in you head? When sure the compiler will do that for you, but why would you be willing to risk not firing those neurons in order to be proficient at the smart things? | | |
| ▲ | inshortok 3 hours ago | parent | next [-] | | If I'm using LLMs to make a compiler? Yeah, then I should probably start at one level lower. But your argument is fair. And the boardgame example probably isn't great. Another example is deriving mathematical proofs for existing theorems. Why on earth would you want to do that if someone's already done it? Well, I believe it physically makes you smarter, more likely to succeed when things get really difficult, and gives you a better fundamental understanding of the building blocks you'll be working with than anything else possibly could. Does that mean everyone should do that? Obviously not. It depends where you'll be applying yourself. But also, I'm more worried about the loss of skill in all the things around the "tech" skills: style/design, managing complexity, becoming more tenacious, etc - all the things that apply no matter which tech stack you use. I think they are pretty universal, and I personally find them easiest to practice in hand-written code or in hand-written sequence diagrams etc. It's too easy to let go of those skills when it gets tough and hope the LLM does it for you, when I think the ability to "work through things even when it's tough (or boring)" is maybe the most important skill to develop. | | |
| ▲ | Lerc 2 hours ago | parent [-] | | I tend to agree in a lot of these things, possibly more than average, I tend to avoid build chains as much as possible because I don't like how processes that perform a bunch of operations unseen can grow in complexity to the point of incomprehensibility. I don't like how a tool like gradle can serve as an alternative to having a sane target. On the other hand I tend also to design instruction sets for fun, play chess, and write programs for fantasy machines.
I have actually created an emulator for an 8-bit machine that never existed and have designs for my own CPU constructed from 74 series chips, I think that is compatible with LLM usage. I do some things to learn about them. I use LLMs to do things. Some of those things I do not know, if it involves dealing with some framework or incomprehensible build process, I do not care to know. I just want it done. The knowledge of those things is not foundational, once they pass from use there will be no value in knowing how to use them.
On the other hand my knowledge of algorithms and design techniques is useful, even when using LLMs and I find actively using LLMs can actually teach me nuances of things in which I already have a good grounding. LLMs can implement algorithms that I have a vague idea on how they work. I then have a working version to look at and importantly I can ask questions about why the algorithm does things, I think learning and building can still compliment each other there are still plenty of things that deserve your attention. I don't think you should put your first ever linked list code into a production environment. Sometimes you should just be doing the learning for they joy and benefit of the learning itself. You can probably use an LLM as an a'effective tutor for that too, I guess the thing I don't understand is people complaining that they are not longer forced to learn in order to do something. If the only reason you learned is because you were forced to I don't think the problem is with LLMs. They remove that pressure, sure, but you can still choose learn. | | |
| ▲ | inshortok an hour ago | parent [-] | | One example, I recently deployed a new side project of mine. All of the IaC boilerplate etc was ready to go, but I chose to deploy everything manually at first, because it teaches me so much about the production environment. Everything (well almost everything) is automated now, but the act of going through the steps was invaluable - I found a lot of stuff along the way that should be improved and I'm more confident that I can support and maintain this thing to the level of quality that I expect from others' software. |
|
| |
| ▲ | anon7725 2 hours ago | parent | prev [-] | | This is brought up as a gotcha in these discussions. It’s dumb. We build systems at various levels of abstraction. Those abstractions are deterministic. Even if we are operating at a higher level of abstraction (compiled language, for example), we are capable of moving down the ladder to assembly if needed or moving up the ladder to an embedded scripting language. The key point is that we build a detailed understanding of the system at one or more levels of abstraction by writing code for it. By contrast, by building only with an agentic system we don’t develop such a detailed model of the system. The pressure is always to move towards a cargo cult understanding. I speak magic words into the talking box and presto! my problem is solved. Maybe we go out on the runway and jump up and down with our flags and the authorization flow is checked in. | | |
| ▲ | Lerc 2 hours ago | parent [-] | | What percentage of people who use automake do you think have a good understanding of what it does? How about the tools that create an an Android application? How many users of those know how the underlying application is constructed? How many could easily drop down to a lower level in the build chain and easily make changes to serve their particular needs. How many programmers know the assembly of the CPUs that they comile languages for? Sure some can go down and learn the details of what is being done at a lower level, but I don't see what it is about LLM usage that renders a similar inspection impossible. | | |
| ▲ | skydhash 19 minutes ago | parent [-] | | > I don't see what it is about LLM usage that renders a similar inspection impossible. Because it’s all about the human scale of it. If I need to know about the usb implementation, I will find realms of docs surround it from people that are knowledgeable. The slop system moslty have two active elements: The AI that is scatter brained and the human(s) that have no internal knowledge. You have to reverse engineer everything. I’ve read a lot of code, and code written by humans always have a human feel to it on how it’s organized. The more you get familiar with the codebase, the more you get in tune with the authors and the faster you get at understanding. Even when it’s human slop. |
|
|
|
|
|
| ▲ | Megranium 4 hours ago | parent | prev | next [-] |
| The thing is, while there are menial tasks that feel dumb, the way you engage with what you're doing is very different when using agents. I remember the university days, studying CS. It's just a very different feeling doing a proof than studying the solution of a mathematical proof (something I admittedly wasn't very good at). Like, even if you study the solution, if you try to reconstruct the proof a few days later without looking at the solution, it's like staring at a blank wall. Your brain hurts and you realize that, to understand it, you have to do it yourself. Same thing with programming, if you think at a higher level of abstraction, and only study solutions to the hard problems that someone else proposed, you're not gonna learn much, and your skill atrophies. Or, at least, that's my experience. |
|
| ▲ | mcv 3 hours ago | parent | prev | next [-] |
| I've found it especially satisfying to let AI figure out dependency conflicts. Those are stupid annoying things to figure out, and AI does it in the blink of an eye, allowing me to think about it on a higher level. There are a lot of things I delegate these days. But not how it's all going to be put together. What we do on what level. How we modularise the code. What thing it's time to refactor (a serious weakness of Claude). All the basic architectural stuff. I mostly ask it for analysis and advice, and implementations of things that many others have done before but I haven't. But the decisions are mine. |
|
| ▲ | globular-toast 4 hours ago | parent | prev [-] |
| You should have been using your brain to avoid doing dumb things like CRUD or upgrading components anyway. |
| |
| ▲ | sevenzero 4 hours ago | parent | next [-] | | What pre AI existing CRUD solution did we have? It's not like there's any good solution out there that doesn't come with a configuration overhead that it almost makes no difference of just writing the CRUD stuff yourself. | | |
| ▲ | GrollingGrakbor 3 hours ago | parent | next [-] | | It is absolutely crazy to me that programmers will say things like this. You can literally write the solutions. Like, that's your job. | | |
| ▲ | sevenzero 2 hours ago | parent [-] | | You don't understand CRUD complexity if you think its easy to automate CRUD away. | | |
| ▲ | GrollingGrakbor 15 minutes ago | parent [-] | | 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. |
|
| |
| ▲ | globular-toast 3 hours ago | parent | prev | next [-] | | What do you define as "writing the CRUD stuff yourself"? Back in the day when I first learnt PHP I used to do SQL string interpolation. That is probably what you mean by "doing it yourself", but of course I'm still leaning heavily on a SQL database to do the actual CRUD for me. You probably don't mean writing bytes to hard disks yourself, right? Frameworks like Django and Rails do basically everything for you. You don't have to touch a line of SQL, even for migrations! I struggle to see how, for just CRUD, it can get any easier than Django. People used their brains to build Postgres and Django to avoid having to "do CRUD" over and over. Anyone doing a Django site wasn't spending the time "doing CRUD", they were spending the time thinking about business logic, firing off async tasks etc. All stuff that you can do once the basic CRUD problem has been solved. | | |
| ▲ | sevenzero 3 hours ago | parent [-] | | Hmm I mean it in a code over configuration way. If you have to write code for CRUD that's good for me, as I am able to introduce all kinds of nitty gritty rules to my objects and I know how to do that. As soon as someone comes along and tries to sell me their cool CRUD tool, where everything is now just a configuration, I dislike it, as it complicates things. A concrete example would maybe be using Ecto (Elixir), with changesets and code where I can introduces all kinds of object specific rules without putting too much thought into it compared to Ash, where everything now is a configuration. Ash is using Ecto under the hood and its probably possible to do all the stuff I need there as well, but I'd have to research on how to much longer. | | |
| ▲ | zachdaniel 21 minutes ago | parent [-] | | Why is it that agents magically solve the problem of writing the under-the-hood code but not the "looking at the docs to find out how to do a thing" problem? | | |
| ▲ | sevenzero 3 minutes ago | parent [-] | | The question is, why should I start to use some random dependency that allows CRUD by configuration if I can just generate the thing I need? |
|
|
| |
| ▲ | cess11 4 hours ago | parent | prev | next [-] | | https://ash-hq.com/ and https://docs.postgrest.org/en/v16/ comes to mind. I've personally scripted out full CRUD on top of an existing database, via automatic reverse engineering of models with the PHP Symfony toolset and crude but simple string mangling. One of the first things I teach juniors is how to bridge from stdlib string stuff to code generation so they can take some simple, trivially generated data source and crap out a bunch of code files that would take hours to write by hand. | | |
| ▲ | sevenzero 3 hours ago | parent [-] | | This is covered by my configuration overhead argument though. Afaik all of ash is just configuration everywhere. Gotta check out the Postgres one though. | | |
| ▲ | cess11 an hour ago | parent [-] | | The reason I mention Ash is because it is very succinct compared to similar solutions elsewhere, so I think it ought to get an exception to the overhead classification. |
|
| |
| ▲ | bramblerose 4 hours ago | parent | prev | next [-] | | Rails. Django. Basically everything ActiveRecord like. But it came with it's own set of problems, just like the AI crud does. | |
| ▲ | twotwoone 4 hours ago | parent | prev [-] | | [dead] |
| |
| ▲ | imtringued 3 hours ago | parent | prev [-] | | Most people don't get paid to build frameworks or libraries. Spending time on a general solution means you are slower than your peers to solve a given task. That's a budgeting issue on the manager's side, which is why it is so strange that we're being told that we get to be managers without the authority to decide the budget for a given task. |
|