Most active commenters
  • closewith(5)
  • AlecSchueler(4)
  • darkwater(4)
  • theshrike79(4)

←back to thread

214 points Brajeshwar | 16 comments | | HN request time: 0.001s | source | bottom
Show context
yodsanklai ◴[] No.45087351[source]
Seems about right for me (older developer at a big tech company). But we need to define what it means that the code is AI-generated. In my case, I typically know how I want the code to look like, and I'm writing a prompt to tell the agent to do it. The AI doesn't solve any problem, it just does the typing and helps with syntax. I'm not even sure I'm ultimately more productive.
replies(6): >>45087633 #>>45087699 #>>45087883 #>>45089870 #>>45090395 #>>45090712 #
danielvaughn ◴[] No.45087699[source]
Yeah I’m still not more productive. Maybe 10% more. But it alleviates a lot of mental energy, which is very nice at the age of 40.
replies(9): >>45088209 #>>45088219 #>>45088793 #>>45089316 #>>45089574 #>>45090610 #>>45091064 #>>45091142 #>>45091665 #
darkwater ◴[] No.45090610[source]
For all the folks on the "reduce mental burden", "reduce cognitive load" train, are you all aware that this basically means you are exercising less your brain day in and day out, and in the end you will forget how to do things? You will learn how to guide an AI agent, but until the day an AI agent is perfect (and we don't know if we will ever see that day), you are just losing inch by inch your ability to actually understand what the agent is writing and what is going on.

I'm pretty radical on this topic but for me cognitive load is good, you are making your neurons work and keep synapses in place where they matter (at least for your job). I totally accept writing down doc or howto to make doing some action in future easier and reduce that cognitive load, but using AI agent IMO is like going to bike in the mountain with an electrical bike.

Yes, you keep seeing the wonderful vistas but you are not really training your legs.

replies(9): >>45090697 #>>45090950 #>>45091057 #>>45091581 #>>45091689 #>>45092550 #>>45092744 #>>45093049 #>>45093902 #
theshrike79 ◴[] No.45090697[source]
This, to me, feels like you're complaining to the 45 year old builder that they should be using a hammer instead of a nail gun.

I know how to nail a nail, I've nailed so many nails that I can't remember them all.

My job is to build a house efficiently, not nail nails. Anything that can make me more efficient at it is a net positive.

Now I've saved 2 hours in the framing process by using a nail gun, I have 2 extra hours to do things that need my experience. Maybe spot the contractor using a nail plate in the wrong way or help the apprentice on their hammering technique.

replies(3): >>45090822 #>>45090862 #>>45092400 #
darkwater ◴[] No.45090862[source]
IMO it's different. That's why I brought the e-bike similitude: climbing even mild mountains or hills with your own legs will actually make your legs, heart and lungs stronger in the process. So you get both the wonderful views (building the house or delivering the software) but also you get improved health (keeping your mind trained on both high level thinking and low level implementation vs high level only). We might say that using a hammer constantly will develop more your muscles, but in carpentry there are still plenty of manual work that will develop your muscles anyway. (and we still don't have bricks laying machines)
replies(4): >>45090922 #>>45091167 #>>45091914 #>>45118162 #
1. closewith ◴[] No.45090922[source]
> So you get both the wonderful views (building the house or delivering the software) but also you get improved health (keeping your mind trained on both high level thinking and low level implementation vs high level only).

The vast majority of developers aren't summitting beautiful mountains of code, but are instead are sifting through endless corporate slop.

> We might say that using a hammer constantly will develop more your muscles, but in carpentry there are still plenty of manual work that will develop your muscles anyway.

The trades destroy human bodies over time and lead to awful health outcomes.

Most developers will and should take any opportunity to reduce cognitive load, and will instead spend their limited cognitive abilities on things that matter: family, sport, art, literature, civics.

Very few developers are vocational. If that is you and your job is your identity, then that's good for you. But don't fall into the trap of thinking that's a normal or desirable situation for others.

replies(1): >>45090975 #
2. AlecSchueler ◴[] No.45090975[source]
> The vast majority of developers aren't summitting beautiful mountains

I'm not sure you're approaching this metaphor the right away. The point is that coding manually is great cognitive exercise which keeps the mind sharp for doing the beautiful stuff.

> The trades destroy human bodies over time and leads to awful health outcomes.

Again, you're maybe being too literal and missing the point. No one is destroying their minds by coding. Exercise is good.

replies(2): >>45091040 #>>45091043 #
3. johnisgood ◴[] No.45091040[source]
I am using LLMs, too, and I do not consider myself thinking less. I still have to be part of the whole process, incl. architectural process among other things that require my knowledge and my thinking.
replies(1): >>45091982 #
4. closewith ◴[] No.45091043[source]
> I'm not sure you're approaching this metaphor the right away. The point is that coding manually is great cognitive exercise which keeps the mind sharp for doing the beautiful stuff.

No, I'm challenging the metaphor. Working the trades isn't exercise - it's a grind that wears people out.

> Again, you're maybe being too literal and missing the point. No one is destroying their minds by coding. Exercise is good.

We actually have good evidence that the effects of heavy cognitive load are detrimental to both the brain and mental health. We know that overwork and stress are extremely damaging to both.

So reducing cognitive load in the workplace is an unambiguous good, and protects the brain and mind for the important parts of life, which are not in front of a screen.

replies(2): >>45091565 #>>45091787 #
5. AlecSchueler ◴[] No.45091565{3}[source]
> We actually have good evidence that the effects of heavy cognitive load are detrimental to both the brain and mental health. We know that overwork and stress are extremely damaging to both.

I don't think this is fair either, you're comparing "overwork and stress" to "work." It's like saying we have evidence that extreme physical stress is detrimental ergo it's "unambiguously" healthier to drive than to walk.

Maybe you could share your good evidence so we can see if normal coding tasks would fall under the umbrella of overwork and stress?

replies(1): >>45091700 #
6. closewith ◴[] No.45091700{4}[source]
We have plentiful evidence and studies on the effect of even moderate day-long cognitive work has on cognitive ability and on the effect of stress.

This is so well-founded that I do not have to provide individual sources - it is the current global accepted reality. I wouldn't provide sources for the effect of CO2 emissions on the climate or gravity, either.

However, the opposite is not true. If you have evidence that routine coding itself improves adult brain health or cognitive ability, please share RCTs or large longitudinal studies showing net cognitive gains under typical workloads.

replies(1): >>45091945 #
7. darkwater ◴[] No.45091787{3}[source]
> No, I'm challenging the metaphor. Working the trades isn't exercise - it's a grind that wears people out.

If your job is just grinding out code in a stressful and soul-crushing manner, the issue lies elsewhere. You will be soon either grinding out prompts to create software you don't even understand anymore or you will be replaced by an agent.

And by no way I'm implying you are part of the issue.

replies(2): >>45091924 #>>45091947 #
8. closewith ◴[] No.45091924{4}[source]
> If your job is just grinding out code in a stressful and soul-crushing manner, the issue lies elsewhere.

The vast majority of developers are in or near this category. Most software developers never write code outside of education or employment and would avoid doing so if an AI provided the opportunity. Any opportunity to reduce cognitive load is welcome

I think you don't recognise how much of an outlier you are in believing that your work improves your cognitive abilities.

replies(1): >>45096699 #
9. AlecSchueler ◴[] No.45091945{5}[source]
Again you're conflating things and are now also moving goalposts (overwork->moderate work) and asking me for very precise kinds of studies while refusing to even point towards the basis for your own claims. On top of this you're implying that I'm some kind of lunatic by associating my questions with climate denial.

It's clear that you're more interested in "winning" than actually have a reasonable discussion so goodbye. I've had less frustrating exchanges with leprechauns.

replies(1): >>45092044 #
10. theshrike79 ◴[] No.45091947{4}[source]
But LLMs can make the soul crushing part so much easier.

I need to add a FooController to an existing application, to store FooModels to the database. The controller needs the basic CRUD endpoints, etc.

I can spend a day doing it (crushing my soul) or I can just tell any Agentic LLM to do it and no something that doesn't crush my soul, like talk with the customer about how the FooModels will be used after storing.

"But it'll produce bad code!"

No it doesn't. It knows _exactly_ how to do a basic CRUD HTTP API controller in C#. It's not an art form, it's just rote typing and adding Attributes to functions.

Because it's an Agentic LLM, it'll go look at another controller and copy its structure (which is not standard globally, but this project has specific static attributes in every call).

Then I review the code, maybe add a few comments for actual humans, commit and push.

My soul remains uncrushed, client is happy when I delivered the feature on time and I have half the day off for other smaller tasks that would become technical debt otherwise.

replies(2): >>45092764 #>>45103537 #
11. AlecSchueler ◴[] No.45091982{3}[source]
I use them too and actually agree with you that the cognitive load is somewhat comparable. I was only pointing out what seemed like an abuse of the metaphor.
12. closewith ◴[] No.45092044{6}[source]
Come on. We’ve had decades of occupational-health research on cognitive load, stress, and hours. The pattern is clear. Higher demands and longer hours raise depression risk. Lab and field work shows day-long cognitive tasks produce measurable fatigue, decision drift, and brain chemistry changes. These are universally accepted.

And yet, you now want me to source individual studies on those effects in a HN thread? Yes, in this instance you are approaching flat-earth/climate-change-denial levels of discourse. Reducing cognitive load is an unambiguous good.

If you think routine coding itself improves brain health or cognitive ability, produce the studies showing as you demanded from me, because that is a controversial claim. Or you can crash out of the conversation.

13. mattgreenrocks ◴[] No.45092764{5}[source]
If the mechanics of the work are “soul-crushing,” isn’t that the root cause, and the LLM is just a bandaid? I’m not saying every professional dev is enthused with all their tasks. But if you’re so eager to avoid parts of the job (however rote they are), then maybe it’s time for something new?

I can’t write this without feeling preachy, and I apologize for that. But I keep reading a profound lack of agency in comments like these.

replies(1): >>45094637 #
14. theshrike79 ◴[] No.45094637{6}[source]
It’s a necessary part of the job.

Like no mechanic gets pleasure from an oil change or tire rotation. They’d rather figure out an issue with an old V8

But they do it because that’s a part of the job.

15. theshrike79 ◴[] No.45096699{5}[source]
Exactly, not every programmer is an artesan who hones their craft on and off the clock.

Some people just write code for 8 hours, go home and never think about it on their free time.

16. darkwater ◴[] No.45103537{5}[source]
> My soul remains uncrushed, client is happy when I delivered the feature on time and I have half the day off for other smaller tasks that would become technical debt otherwise.

This is a very optimistic take. If you are in the type of company that just gives you boring code and tasks, you will required to use the other half-day to work on some other boring feature. This will not give us time to pay tech debt. Maybe it will do in the beginning when using AI agents has not been institutionalized yet, but once it has, you will be asked to churn out more "features"