Hacker Newsnew | past | comments | ask | show | jobs | submit | solid_fuel's commentslogin

Haven't you heard that the age of manual coding is over? You can check almost any comment section here and see people loudly proclaiming that no one writes code by hand anymore - the entire industry has gone to genAI coding.

I don't buy that narrative for the whole industry, but I have seen management at a lot of tech companies aggressively pushing LLMs for coding, and in the process they often expect increased delivery speed. That means generated code that has not been properly reviewed or designed is often being shipped and more frequent outages would not be a surprising result.


None of these recent incidents have been cyber attacks.

That's just what they told us. It's not entirely unheard of for enemy actions, especially successful ones to be denied. Especially if they want to draw the enemies into claiming their actions

For high profile actual cyberattacks there are often two or more nation states "admitting" they did them. Why would you hide that? You want to make sure your enemy knows you are strong and is afraid of you.

There are also laws that force companies to disclose this kind of things. Do you thing all those "we care about protecting you data BUT" is company goodwill that wants to make sure you rotate your password? No, they have to disclose that.

Microsoft having half a day outage is nothing in a large scale of things. That would be burning your (alleged) high access to enemy infrastructure for nothing. Unless you make a huge show of it to show off your strength... It's much better to sit quiet and silently exfiltrate data. Which yes, does happen.



Maybe what's needed - broadly - is some sort of "choosing good software vendors" education, for people in non-IT fields. Medical care would certainly benefit from similar education.


In the 90s my parents were briefly involved in designing that sort of curriculum in a for profit space (for kids) [1] and they encountered all sorts of problems in that 1) software vendor advice changed roughly every six months (often for no particular reason than a brand got bored and changed names/rearranged cheese or went out of business or got bought by some other conglomerate got worse and a new alternative needed, 2) nobody really wanted to pay for the education of which software to buy/use, and most crucially, 3) nobody thought they needed that education.

Parents assumed kids should naturally get it from the school systems. School systems don't have the resources to teach it in most places (and where they did it has always been underfunded/under-appreciated). Parents themselves assumed they were smart enough to figure the stuff out, when they had a chance to get around it it, probably.

It sort of feels like software education has been left in a permanent "Somebody Else's Problem" field. Both in learning it personally and in finding someone to teach it.

[1] It was a franchise called Futurekids.


> We've always judged the output, so why stop now. AI is just a tool. The artist still owns the output.

Customers never checked every hand in an oil painting to make sure they were painted correctly. They always trusted that the artist - who spent hundreds of hours painting the thing, instead of just pasting a prompt into a slop cannon - was familiar enough with the entire work and had spent enough time working on it to catch stupid mistakes.


> i think the point is that, code quality as we used to define it doesn't matter any more, that from here on code will be written, reviewed, tested and maintained by machines.

Code quality was never a one dimensional metric that just meant "easy for humans to read". Perhaps this distinction has been lost over time, or was never internalized by some parts of the industry, but high quality code is narrow in its function and design. It is well specified, with limited dimensions of variability - this is part of what metrics like cyclomatic complexity measure.

The reason for that is that the input space - the sheer combinations of possible input - of a piece of code grows far faster than the intended functionality of the code. Good code operates on a narrow space and that is important because it is both easier for humans to comprehend, and easier to test. Code that is easier to reason about is easier to validate - by humans, by automatic testing, and by LLMs.

Poorly written code is both harder to understand and harder to validate. An LLM is not an escape hatch that negates that.


Isn't an escape hatch yet...

I think there is a huge amount of resistance to a near-term future where it's more about the ability to describe and specify a thing than it currently is to code up a thing in order to build it. And I suspect that LLMs or whatever succeeds them will continue improving from here without any of the claptrap about a near-term malevolent superintelligence that's out to kill us all.

The future IMO will be relatively efficient code with independent models reviewing for quality and security afterwards. Life continues to come at us fast.


Programming languages are a terse way to describe the logic we want, so if you understand what needs to be built well enough it's possible to write it out faster in code.

Natural language is more ambiguous so you often need more of it to describe something. Specifications if consistent often end up as a kind of programming language in themselves, but usually ambiguous on matters that affect performance.

I'm with you on the review side though. Even the best models of today give some nonsense in reviews, but if you understand the code it's usually easy to skim the review and skip over nonsense.


I've been programming for many decades and I go all the way back to FORTRAN IV to C/C++ through CUDA. That said, there are tasks I can more easily describe than implement. I no longer bother resolving config issues on my machines, I let the coding agents do that as one example and then explain their fix to me.

But you are right about the efficiency of description given you have the 10,000+ hours into writing efficient code in the chosen language. Most do not. And they hide that by leaning on Python and its insane library toolchain which itself becomes its own skill set, but one more amenable to LLMs to master.

To be brutally efficient, one would write everything in machine code, no?


One more thing: any low-level coding legend will tell you to focus on the 2% of the code that eats 98% of time. That leaves the other 98% of the codebase as fair game for increasingly trustworthy coding models as AI becomes the new compiler.

If you micro-optimize an entire codebase yourself, not only will you never get the job done, the hardware and architecture underneath will shift faster than you can specify your precise intent. CUDA itself proved this 20 years ago with 100x to 1000x accelerations over legacy single-threaded and or badly distributed CPU code, but I guess the lesson didn't sick in.


> Do you not use AI for coding?

A lot of people prefer to understand the things they ship. I don't understand why this remains surprising to some.


Indeed, Linus Torvalds is infamous for not caring what he ships (https://news.ycombinator.com/item?id=50111350). That's why he's never been known to go on, let's say impassioned tirades against people who submit bad patches to the linux kernel. After all, it's not like he's ever apologized for inflammatory behavior before (https://news.ycombinator.com/item?id=18000698).

On a more serious note, it's not a dichotomy that one either uses AI to code or they care about what they ship. Some people use AI to code and care what they ship.


Linus, like anyone else, has been wrong about things before, I'm not really interested in the appeal to authority here.

Two simple facts:

    1. Reading & understanding code takes longer than writing it the first time.
    2. Caring about what you ship requires *understanding* what you ship.
Therefore

    Using LLMs to write code cannot save you time, because it takes longer to understand what it has written than it would to write it in the first place.
That leaves simple changes like refactorings as the main use of LLMs in responsible development. Hardly a massive accelerator.


Point 1 is dependent on the individual and often not the case. Especially in cases where the part that takes effort is figuring out the poorly documented syntax/api you’re stuck with for the task (extra fun with new components iterating rapidly and pinning the next version requires new scaffolding), you can read the invocation and the accompanying couple of lines of test code way faster than you’d mould them yourself. Which also translates neatly to point 2 (how efficiently can you in many cases ascertain the outcome of smearing the chosen bits on the cpu with easily digestible tests).

Also the emotionally laden appeal to "responsibility" is weak, as it glosses over the many cases where overspending resources on creating the thing would be the irresponsible choice.


> Point 1 is dependent on the individual and often not the case.

Not really. To properly understand code you must have a mental model of what it is doing. You need that model whether you are reading or writing the code. It is easier to build that model while writing the code than while simply reading it. To build the model while reading the code requires having the same understanding of the problem and the same approach already in mind, which is almost never the case for any moderately complex problem.

> Especially in cases where the part that takes effort is figuring out the poorly documented syntax/api you’re stuck with for the task

Reading LLM generated code does not avoid this, and in fact it is often worse since LLM comments are terrible at getting to the point.


> I'm not really interested in the appeal to authority here.

Citing Linus isn't an appeal to authority, it's an example. A prominent example, but no one is saying to follow what he does or what he believes.


> Some people use AI to code and care what they ship.

The vast, vast majority of people using LLMs to build software don't care at all about quality. I'll grant you Torvalds, but he's very much not the norm (and he's wrong: by the time you review the code the model wrote, you spent as much time reviewing it as you would've writing it, so no time was saved).


> such as making sure all the font are the same size so you leave that until the end so you can focus on content.

`ctrl-a`, select desired font in style dropdown, done.

Do you perhaps have a better example?

The criticism people are throwing out here is that while users often claim that they're only using claude to speed up the exact thing they would have done anyway, they are in fact ceding control and critical thinking to claude and just accepting what it does as if it were what they would have done.


Yup. The damage elon musk and his cronies did will, unfortunately, take a generation to fix.


The status updates have a pretty strong "LLM-driven agent failing to debug a complex system" feel to them. I hope it's not the case, but I could imagine a scenario in which inexperienced engineers - or experienced ones who have lost touch with the codebase - are deferring to LLMs to drive the troubleshooting and fix here.


They sound exactly like frustrating conversations I'd have with a cheap model and an overextended context window.


Reading the status updates feels a lot like watching some of the OpenAI models try to debug a thorny issue. Throwing half-baked solutions at the wall, then reacting in surprise when it makes things worse, getting increasingly detached from reality until someone clears the context and makes it start over.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: