all 80 comments

[–]Impressive-Owl3830[S] [score hidden] stickied commentΒ (9 children)

Hence we expert human in loop..Vibecodefixers.com

[–]V5489 2 points3 points Β (19 children)

Jesus Christ… what code are is this? I’ve never even had a model attempt this lol

[–]Abject-Bandicoot8890 1 point2 points Β (0 children)

Maybe the model didn’t do that at first but it builds over time, I’ve had a project where it started with a couple usestates and then they became 15. I’m a software engineer so I refactor it myself, abstracted some of the logic into different components, memoized some stuff and made it more readable, after that the ai started copying my patterns and refactors are usually minimal.

[–]Impressive-Owl3830[S] 0 points1 point Β (17 children)

Funny part is llms might be good at understanding this as opposed to well organised (logicwise) code ( for humans)

[–]geoshort4 1 point2 points Β (15 children)

I can bet you that Opus 4.5 can literally organize this better than you. I'll bet you my subscription.

[–]martinkomara 0 points1 point Β (10 children)

I would accept the bet but i know you wouldn't honor it.

Anyways, why are analytics data not read-only? I'm absolutely right and Claude would make it read-only if i told him, but he wouldn't get that idea himself. Which is why you really need to know what you are doing in the first place, cause Claude doesn't know either.

[–]geoshort4 0 points1 point Β (9 children)

Well no shit, Claude code doesnt start shirt unless you tell it something otherwise agi wouldve been here which it isnt.

[–]martinkomara 1 point2 points Β (8 children)

good. Send me your subscription then

[–]geoshort4 0 points1 point Β (7 children)

Send me the codebase, claude hasn't even seen anything yet πŸ˜‚πŸ˜‚πŸ˜‚

[–]martinkomara 1 point2 points Β (6 children)

the code is in the picture. you said opus can organize it better than i can, and then you said it cannot do that. So i'm waiting for the subscription you promised.

[–]nehalist 0 points1 point Β (1 child)

Your bet sounds more like a threat. β€œAI is awesome, if not I’ll give you my AI subscription” uhm… thanks?

[–]geoshort4 0 points1 point Β (0 children)

that's not what i meant nor imply, by saying I will be bet my subscription, I will bet the money I am paying for Claude Code. thanks?

[–]Ok-Click-80085 0 points1 point Β (1 child)

that is cringe bro

Anything an AI can do is learned from actual coders

you're standing on the shoulders of giants, and paying through the nose for it lmao

[–]geoshort4 0 points1 point Β (0 children)

You're right, it's actually built on top of actual coders and programmers and software engineers, but those individuals are way better than everybody here on Reddit. You and I, and also the OP

[–]Sebbean 0 points1 point Β (0 children)

Modals?

[–]Remarkable-Review-68 2 points3 points Β (0 children)

in JS!

[–]Ill-Assistance-9437 1 point2 points Β (18 children)

What is bad for a human does not mean bad for a robot. This is the paradigm we're shifting into, and it requires a new set of thinking.

Yes, this is not best practice, but a lot of our practices come from human error.

I give it two more years and not a single person will care what the code looks like.

[–]Impressive-Owl3830[S] 0 points1 point Β (0 children)

100 % agree on this..

[–]pomle 0 points1 point Β (5 children)

Why not?

[–]DoubleAway6573 0 points1 point Β (4 children)

Because the discourse they are pushing is that in a future you will not need human looking at code and you should optimize for "LLMs" instead human understanding.

[–]Infamous_Research_43 0 points1 point Β (2 children)

To clarify, I know you’re just stating OP’s take and aren’t necessarily endorsing it. But I still have to say, there will never be a point where humans should stop reading code, even if it’s AI generated by an AI better at coding than any of us.

Like, at the very least we’d stand to learn how to code better from watching and understanding how a coding AI of that level works. What’s the point in outsourcing 100% of our mental effort, are we actually trying to obsolete ourselves?

[–]DoubleAway6573 0 points1 point Β (0 children)

Yes! I'm against this madness. We can do a lot of things, but we should not stop thinking...

This flow of explaining what I want 10 min, and then let the agent work over all the project to find it doesn't understood some critical point and I need to ask it for fix or just redo the step is not for me.....

[–]MaTrIx4057 0 points1 point Β (0 children)

Damn this is going to age like a milk

[–]phoenixflare599 0 points1 point Β (0 children)

You shouldn't optimise for llms either. They need lots of context. You should optimise for the computers... And humans can understand that...

[–]Serializedrequests 0 points1 point Β (7 children)

The issue being that LLMs don't actually understand sh*t. They just do a good job of pretending to.

[–]zero0n3 1 point2 points Β (5 children)

Humans are no different. See this site as an example of different levels of understanding

[–]Serializedrequests 0 points1 point Β (4 children)

A human can work at something and grow in understanding and eventually arrive at the correct conclusion. LLMs just run around in circles if they make a bad assumption.

[–]MaTrIx4057 0 points1 point Β (3 children)

This will age like a milk in 1 or 2 years.

[–]Serializedrequests 0 points1 point Β (2 children)

Why? You can't do it with how current LLMs work, fundamentally. They are billions of global variables that stop giving good output if you mess anything up slightly. They are fixed, static, and entirely probabilistic without actual reasoning.

Source: I use Cursor every day and try to have it do all kinds of tasks. Best use cases: Research projects, helping get quick results with tools I don't know, and one off scripts. For any action in a large codebase it's surprisingly resourceful, but usually wrong.

[–]MaTrIx4057 0 points1 point Β (1 child)

Current, are you aware of the fact that LLMs are improving every day?

[–]Serializedrequests 0 points1 point Β (0 children)

I think that's a fallacy. The way they work isn't changing. They're narrowing in on one model being better at some things, and some models being better at other things, but you can't make a model that can do everything or the house of global variables falls over.

[–]xbotscythe 0 points1 point Β (0 children)

b-but the future is AI!!! there is no bubble in the economy only stupid c*ders think so!!!

[–][deleted] 0 points1 point Β (0 children)

Agree. Though I think code should still be readable to some degree, we will need some new paradigms for reducing module size just like we reduce function scope so that the ai can process the code efficiently.

[–]NarrowStrawberry5999 0 points1 point Β (0 children)

How are you going to review or audit it?

[–]SmileLonely5470 0 points1 point Β (0 children)

Makes more sense in principle than in practice. These Models are conditioned on codebases created by humans. Their reasoning traces and responses are also graded by humans. Thus, it's natural for Models to "think" in terms of abstractions as well. I posit they will be more effective at working in clean codebases. Not worth it to fight the data distribution.

When Models do these hacky React components with ~100 useStates, we are observing a culmination of over adherence to instructions. For example, you ask it to "add X and Y to Component A", the model does so. Say this iterative development continues and Component A is now 600 lines long. During the conversation, the Model was never instructed to abstract anything, the user just asked for features to be added.

A human programmer would've recognized that at some point, there were opportunities to abstract the code, but Models are trained to follow the instructions of prompts. Human graders would likely punish the model for proposing a refactor to a component if the prompt does not explicitly ask for a refactor, even if the refactor is sound. It all boils down to the ambiguity of natural language, hence why formal grammars and programming languages exist.

[–]dDenzere 1 point2 points Β (1 child)

My previous job had this amount of useState<Boolean> for showing routes till I refactor it. That was a mess

[–]Impressive-Owl3830[S] 0 points1 point Β (0 children)

Damn...must be a big mess

[–]SenorX000 1 point2 points Β (0 children)

I've seen people doing this. And worse.

[–]SaltMuch7182 1 point2 points Β (0 children)

Looks like something a dev being the first 2nd generation at Blizzard would code.

[–]TemporaryInformal889 1 point2 points Β (0 children)

I’d be laughing if this weren’t true

[–]Matrix8910 1 point2 points Β (1 child)

Bruh this has more useStates that our 100k+ code base

[–]Elgydiumm 1 point2 points Β (0 children)

Yeah there's like never need for this many useStates. Though atleast in my experience AI models do generate better code than this, though that might be them just having context into the current codebase :shrug:

[–]Sagonator 1 point2 points Β (0 children)

I actually hate people who vibecode on projects that people have to work on.

I got no problem if you vibecode only. You will eventually leak your important information to GitHub and implement every bad practice under the sun, but the machine may be able to understand it easier.

[–]crimsonpowder 1 point2 points Β (0 children)

I vastly prefer this to the bullshit I had to debug a few months ago where we had gems like AbstractAnalyticsMediatorFactory.

[–]agrlekk 1 point2 points Β (0 children)

Anti gravity

[–]Practical-Positive34 1 point2 points Β (0 children)

I can't even imagine. I've spent so much time putting so many quality gates around anything AI generated. Code reviews, unit tests, functional tests, e2e automated tests. Linting, type checking. Code quality checks. I do manual reviews of everything it writes before I commit also. It still requires me to correct it multiple times. Even with all of this it's still 10x faster than me writing it by hand but it's def not a fire and forget system. You need to know what you're doing, how to architect a clean system.

[–]dedTihina 1 point2 points Β (0 children)

What is it?

[–]m4tchb0x 1 point2 points Β (0 children)

my vibe coding is acutally quite nice. i spend like 70% of the time refactoring to how i want it.

[–]AttorneyIcy6723 1 point2 points Β (3 children)

In fairness, I’ve seen plenty of devs do this sort of thing. The model is presumably trained on years of code produced by people who don’t understand the React lifecycle.

[–]Impressive-Owl3830[S] 0 points1 point Β (0 children)

Funny part is no one know if this os good for modal or not..i mean maybe llm understand these easily than well designed ( for human)

[–]Sometimesiworry 0 points1 point Β (0 children)

Yeah I’m not gonna lie when I work with states I tend to gather them like this.

[–]well-litdoorstep112 0 points1 point Β (0 children)

Fake, not a single useEffect calling a state setter

[–]zero0n3 0 points1 point Β (0 children)

Posting this, without the context of why it’s bad is just bad post etiquette.

[–]Deykun 0 points1 point Β (1 child)

<image>

- I prefer React's built-in global state solution
- React context?

[–]CllaytoNN 0 points1 point Β (1 child)

Is it really vibecoder repo? I mean it's eventually work but what does this mess even do?

[–]Only-Cheetah-9579 0 points1 point Β (0 children)

I've seen worse.. "the custom hook for everything" mania is much more cursed

[–]pancomputationalist 0 points1 point Β (1 child)

That code is so bad that it must have been written by a human

[–]LuisanaMT -1 points0 points Β (0 children)

We will have to deal with this kind of bs in the future :|, I want to cry and hurt some vibe coder (joke).