| ▲ | tim-projects 4 hours ago |
| When you have built your working product try this prompt: - Review the codebase is it production ready? I'm selling it for $1million dollars can it meet that standard. Then cry as the ai reveals that it didn't actually do anything close to what it said it did. I call this my million dollar prompt, as in it teaches you just how much you are being fooled. |
|
| ▲ | budsniffer952 4 hours ago | parent | next [-] |
| Popped over to HackerNews, read two comment sections and the top comments in both articles were users saying the same thing: "AI can't write code! The whole thing will come crumbling down any minute! Just you wait!" I've never seen this community like this. Are these people cooked? We are years into this and they haven't been able to figure it out? They are going to continue to tell people using these tools successfully every day that, actually, it's just a mirage? |
| |
| ▲ | techblueberry 2 hours ago | parent | next [-] | | This is roughly in line with where the thought leadership is: https://newsletter.pragmaticengineer.com/p/context-engineeri... But you know, maybe you’re having a better experience? You should be a consultant. | |
| ▲ | Kiro 3 hours ago | parent | prev | next [-] | | Yeah, it's baffling. I can't relate to these statements at all. What are people doing? Surely the smart people of HN would have been able to figure this out a long time ago. I also don't find these people in real life. Even the most junior developers I know are able to navigate this without creating this supposed mess. | | |
| ▲ | gregoryl 3 hours ago | parent | next [-] | | Its a bit unkind to talk like this - the obvious and equally unproductive response is to question if you are really as good as you think you are. Are those junior developers not making a mess, or do you lack the insight to see it? | | |
| ▲ | anal_reactor 2 hours ago | parent | next [-] | | Big codebases tend to become a mess anyway so if your company has experience dealing with shit, the fact that now shit is AI-generated doesn't substantially change anything. And I'm not joking. Imagine it this way - managing a group of skilled professionals is a completely different skill from managing a bunch of alcoholics doing a minimum-wage job, and sometimes the latter situation is just the reality you find yourself in. | |
| ▲ | throwaway314155 2 hours ago | parent | prev | next [-] | | Or perhaps the ones complaining aren’t as good as they think they are at coding, prompting, etc. | |
| ▲ | lelele 3 hours ago | parent | prev [-] | | This. |
| |
| ▲ | Philip-J-Fry 2 hours ago | parent | prev | next [-] | | I've seen two camps of people within the same company I work at. Some think AI is generating acceptable code. Others think it's generating slop. I sit in the middle a lot of the time as my opinion on code quality vary depending on how important the code actually is. I will say one thing, the people who I generally deemed as worse developers prior to the wide AI roll out are the ones that are more accepting of AI code. And consequently, they're the ones spending a magnitude more money each day. The people who were writing better code and, in my opinion, were stronger developers, are spending less on AI and are generating more acceptable code when they use it. And they can spot issues from a mile away, because they actually understand the code being generated. They're not just committing lots of redundant code. We had an AI outage for a day or two a few weeks back. The reaction from some people was like it was the end of the world and they couldn't do any work. Some projects got put on hold because no one actually knew how to work on the code base without AI. Other, better in my opinion, developers just went shrugged it off and got on with their job. AI over-dependence is a big issue that people will face more and more. Weaker juniors used to just be a bit slower and stagnate a bit, but they could still kinda work independently and understand what they were doing. Now they are almost entirely prompt monkeys, take away their Claude Code terminal and they are completely stumped. | | |
| ▲ | flohofwoe an hour ago | parent [-] | | > I sit in the middle a lot of the time as my opinion on code quality vary depending on how important the code actually is. This is really the key insight that most people on the extreme ends of the discussion don't seem to grasp and then talk in absolutisms because they think that their tiny village is the whole world. It's the same kind of 'extremism' that dominates most discussions about memory safety btw. For some types of programs, code quality simply doesn't matter as long the program does its job, and generating those programs even with the most sloppiest vibecoding approaches is totally fine. And in some areas of the industry (like web development) these types of programs are basically the norm - but this sort of code was already mostly hastily cobbled together slop even before AI. I also see extreme differences in usefulness of LLM code generation. For anything JS or TS it works great because there's a giant corpus. For C code (or even more obscure languages) especially when using libraries which change all the time my experience is totally different (at least for code generation, bug scanning works quite well). That's my experience so far anyway, literally "hit and miss" with some areas where there are more hits than misses, and other areas where it's the other way around. |
| |
| ▲ | skydhash 2 hours ago | parent | prev [-] | | It’s not a mess as in spaghetti code, which you will find with novice programmers. It’s a mess as in complex and disjointed codebase. Happy path works somewhat, but it crumbles if you run it long enough or encounters an edge case. You need a very good level of insight to build a codebase to do what is supposed to do, to not do what it shouldn’t do, and to still be comprehensible. Because a software is a system and building system well is what engineering is about. | | |
| ▲ | pmg101 an hour ago | parent [-] | | Isn't "spaghetti code" a casual term to describe "complex and disjointed codebase"? What's the difference? Have I been using the term wrong all this time? | | |
| ▲ | skydhash an hour ago | parent [-] | | Not really. Spaghetti code is usually related to the big ball of mud. Meaning anything you need to understand, you need to go up and down the files while being distracted by irrelevant concerns. There’s no abstraction, no separation of concerns,… Complex and disjointed codebase is the usual over engineering. The requirement calls for a quick printf, but the implemented module is equivalent to ncurses. And then every calling point turns into a complex ceremony. And most of them are subtly wrong in some way. Those are two distinct mode of failures. The first was the sin of novice programmers before LLM. The second was the sin of not so novice programmers before LLMs, at least until the pain of living with their mistakes taught them better. But with agentic tooling, the output is often the second. I believe mostly because no one publish the simple generic version of their codebase. Instead it’s the one that is aligned with their specs, simple in that context, but too complex in any other. | | |
|
|
| |
| ▲ | bakugo 33 minutes ago | parent | prev | next [-] | | > The whole thing will come crumbling down any minute It is crumbling down as we speak. There's more software being pumped out than ever, but it's also buggier, more bloated, and just generally worse than ever. A few days ago I had to revert to an older version of an open source project I use regularly, because the author turned full vibe coder and has pushed hundreds of AI generated commits in just a few weeks, at least one of which completely broke an important feature I relied on. Whether or not you consider putting out software that technically meets the minimum requirements but is a buggy, broken mess to be a success depends entirely on your personal definition of success. Maybe you do, and you are entitled to your opinion. But once again I feel the need to remind people that we humans did not get where we are today by always doing the bare minimum. If everyone throughout history shared this mentality, we'd still be banging rocks in caves. | |
| ▲ | 3 hours ago | parent | prev | next [-] | | [deleted] | |
| ▲ | dakolli 3 hours ago | parent | prev | next [-] | | They aren't that great, they can be helpful, but they mostly make lazy people seem and feel less lazy. Maybe that's you? Maybe that's me as well, idk, but when you look close, these things can easily cause more problems than they solve (more often than not ime). No I'm not holding it wrong, I got more token consumption than most here probably, I have access to all the models, unlimited, I'm not that impressed. I've personally seen the consequences of someone who naively thought these tools could help them execute on their ideas and I wouldn't be surprised if they end up in prison because of it. | |
| ▲ | IAmGraydon 3 hours ago | parent | prev | next [-] | | Interesting. What product and/or project have you successfully launched with it? | | | |
| ▲ | themgt 2 hours ago | parent | prev | next [-] | | Blub is good enough for him, because he thinks in Blub. | |
| ▲ | tovej 3 hours ago | parent | prev | next [-] | | What people? What is the definition of success? You can't appeal to something happening in the real world if you don't say what you mean. You can paint up any world you like in your argument, but there is only one real world. Please tell us who it is, in the real world, that the hacker news crowd is gaslighting. | |
| ▲ | cyanydeez 2 hours ago | parent | prev | next [-] | | you have to remember, 70 million people voted for the current US regime and many of them billionaires. The ability to delude ones self and not pay attention to the "facts on the code" is moumentally built into the human condition. Everyones experience is some unique snowflake of just how easy their mental gymnastics are. | | |
| ▲ | philipallstar an hour ago | parent [-] | | > you have to remember, 70 million people voted for the current US regime and many of them billionaires. Many of the 70 million Republican voters were billionaires? What are you talking about? | | |
| ▲ | cyanydeez an hour ago | parent [-] | | "of the american billionaires who voted, many of them voted republican" I get it, but it's not _that hard_ to parse. |
|
| |
| ▲ | smolder 2 hours ago | parent | prev [-] | | > Are these people cooked? Yes. This is a weird kind of denial about the LLMs that cost nation-state levels of energy doing human nerd work. They aren't perfect at all, but there's very little reason to be anything but a prompt engineer and proof reader anymore. | | |
| ▲ | gmueckl 37 minutes ago | parent | next [-] | | The naysayers aren't cooked at all. They have really, really good points that align with my own experience so perfectly It's eerie. Vine coding has a price tag attached that will have to be paid with interest eventually. The trouble is that it takes a whole damn lot of experience see these signs early. That doesn't mean that LLM slop code can't be useful. But you just can't build a whole business entirely by surfing a wave of vibe coded slop. That wave will break over you and drown you eventually. | |
| ▲ | goatlover an hour ago | parent | prev | next [-] | | This is an absurdly overgeneralized take for a wide and diverse field, and it's also false. Of course for some people it's true, but hardly for everyone. I doubt it's even the majority of all programmers. | |
| ▲ | techblueberry 2 hours ago | parent | prev | next [-] | | Prompt engineering died like 2 years ago. | |
| ▲ | bakugo an hour ago | parent | prev [-] | | Prompt engineering? Proof reading? That's so last month, who even does that anymore? What a nerd. All this condescending drivel about how "anyone who still writes code by hand is a loser, but not me, I'm a prompt engineer because I'm smart and forward-thinking" is so painfully tone-deaf, as if this "prompt engineering" has any lasting value and isn't just a momentary stepping stone towards a techno-feudalist future where every tech company consists of a small group of very wealthy executives, typing what they want in plain words into a text box and having the AI do everything for them, with no need for anyone below them. |
|
|
|
| ▲ | faangguyindia 3 hours ago | parent | prev | next [-] |
| >? I'm selling it for $1million dollars can it meet that standard. but people have sold terrible codebases for more than a million dollar. |
| |
| ▲ | mosura 3 hours ago | parent [-] | | Yeah the financial value of a codebase is in successfully solving a problem, which is independent of code quality. It is a painful lesson for many. | | |
| ▲ | cube00 2 hours ago | parent [-] | | > Yeah the financial value of a codebase is in successfully solving a problem It doesn't even need do it successfully, plenty of slow buggy codebases that are raking in huge amounts of money every day. I knew it was bad when I started getting tickets to "improve the skeleton loader" because its displayed for so long the project owner had time to contemplate changes to it. | | |
| ▲ | gmueckl 33 minutes ago | parent [-] | | The success or value of a solution isn't measured by its quality, but by its utility to the customer. It's a harsh lesson for anyone who wants to build quality. | | |
| ▲ | mosura 17 minutes ago | parent [-] | | And even worse “customer utility” isn’t real but perceived. It is more important to make the buyer feel the solution helps than anything else. |
|
|
|
|
|
| ▲ | matheusmoreira 3 hours ago | parent | prev | next [-] |
| How many millions of dollars should Oracle database sell for? https://news.ycombinator.com/item?id=18442941 |
|
| ▲ | KronisLV 4 hours ago | parent | prev | next [-] |
| > Then cry as the ai reveals that it didn't actually do anything close to what it said it did. If using AI to generate code, you told it generate some code, so it did. No amount of "You are an expert developer" or "Make no mistakes" will change the fact that it just generates tokens and has a limited thinking budget. Adversarial review loops of N parallel agents looking at whatever characteristics you care about will make it better, even if it will Nx the tokens you need to achieve something, though in general it will be cheaper than N human reviewers (which you might not have). Obviously you shouldn't forget about traditional tooling for formatting and linting, as well as static code analysis and having test coverage that approaches 100%. It might be annoying to do manually, but AI has no issues with refactoring code to make it more testable and eventually will catch some issues that way. It's never going to be perfect in the 1st attempt. > Review the codebase is it production ready? I'm selling it for $1million dollars can it meet that standard. This is far too vague though and will never be good, even sans AI. When it comes to AI, it will nitpick the fuck out of the codebase if you ask it to do and sometimes jump around between different approaches because neither is actually a good fit for the problem space (there might not be a good fit at all, just various tradeoffs). If you still ask it to find issues and there's nothing obvious, it will just make shit up in pursuit of being useful (RLHF). When it comes to people, you will get various standards, from "It looks like Java, ship it" to "You should rework a quarter of your codebase because I read about this one approach in an authoritatively written book that you should also follow because I view it as dogma and will hold back your merge until it all works exactly like I want it to." (you get all sorts of people and personalities). In my experience other people are no panacea either, nor is writing code all by myself. Fuck it, I'll take anything and everything to help me ship stuff that's good enough and on time (even if some/most? deadlines within the industry are made up). I'd argue that producing something that would pass most critique and could be considered "good code" (not "good enough") or even more broadly a "good product" might take about an order of magnitude more effort than most people and organizations actually can, or can budget for. |
| |
| ▲ | mosura 3 hours ago | parent [-] | | > Adversarial review loops of N parallel agents looking at whatever characteristics you care about will make it better Especially if different model providers. It becomes more like having team members that see things slightly differently. | | |
| ▲ | ModernMech 41 minutes ago | parent [-] | | It's like a variant of the halting problem though: given N agents in a review loop reviewing a codebase, will it ever terminate and say the thing is done and bug free? It seems to me just from @codex review, given a codebase of any appreciable size, if you ask the agent to find things to fix, it'll find things to fix. And despite N agents agreeing that some code is ready to ship, I've still sat down to try it and nothing actually works as advertised. So the need for better verification tools that are not AI is very urgent. Because the AI can be told to write a thing without mistakes, it does write code that compiles, N-agent AI review process fixes bugs and eventually the code is approved, and then run against an extensive suite of tests to prove certain functionality which all pass... and yet it still can be the case that nothing actually works in production. | | |
| ▲ | KronisLV 25 minutes ago | parent [-] | | > will it ever terminate and say the thing is done and bug free? Will human reviewers, if you ask them to find more bugs? Will it be because there really are no bugs, or because they got tired and just can't see any? How would you even figure out when the thing is done and is bug free? There have been bugs that have been in codebases for years and have only been discovered recently. Would you trust static analysis tools that give you an all clear, when they themselves cannot encode the above desired state fully? Seems like you'd need formal proofs or something, but at that point also for the frameworks and libraries, database, networking stack and the whole damn OS. I'm all for good tools, just saying that we'll need a whole bunch of those. |
|
|
|
|
| ▲ | geraneum 4 hours ago | parent | prev | next [-] |
| Then ask it to fix it. When “fixed”, ask the same question again and you’ll get a similar response again! |
|
| ▲ | sschueller 3 hours ago | parent | prev [-] |
| OpenClaw sold for how much?... |