If it’s adding that many lines, it’s not refactoring. It’s just adding slop.
The best refactors always remove more lines than they add. This is a horrifying ratio if no new features were included.
Yeah, adding that many lines does not sound like a cleanup to me. Unless it’s mostly adding unit tests.
I’ve never seen a “refactor” create substantially more lines of code.
follow clean code book best practices once, you will
+55653
Says everything I need to know about the change.
I bet it’s like 5 different versions of the same thing. The exact opposite of modularized.
It is wild that Anthropic decided to go with “Claude”, as in “Claude Shannon”, as in the guy who formally proved that information degrades every time it passes through a channel that can’t represent it in a mathematically reversible way.
If you can’t theoretically produce the original code, given the “refactored” code… congratulations, you have lost information.
If the movie Tron were true, or The Matrix, and code was alive and sentient, things like this would be horror on the level of the Star Trek: TMP transporter accident.
It’s beyond spaghetti code. We need a new word for it: Cthulhu code
Codethulhu. Though that name isn’t mine. I grabbed it from an old story about a company that kept a code base composed exclusively of decompiled Java.
Sounds atrocious
There’s an entity in the Cthullu-verse that turns everybody that looks at it crazy because of its sheer complexity, isn’t there?
Sounds kinda like my psychiatric history
Ah yes the good ol asaert(true);
Perfection is achieved, not when there is nothing more to add, but when there is nothing more to take away. — Antoine de Saint-Exupére
+55653, -937? That is not beauty, even if it all “worked”.
I would say a few new lines are OK if they at least improve the readability of the code.
But given that AI was doing the work, I would say it is even less readable now.
Slinging random quotes at Jr. devs works best if you have one for every rebuttal:
Everything should be as simple as it can be, but not simpler. — Albert Einstein
Maybe you (the Claude porter) should have written a few requirements and specifications to test to first?
1998 a company bought our software that had been developed (part time, by a single programmer) since 1991, first in C/DOS, then refactored into Borland VCL/C++ in 1997. Buyers declared they would refactor it into MFC/Win 32 because it was “easier to hire good MFC/Win 32 programmers than VCL programmers.” So, they went and found two “good MFC programmers.” They assessed the job carefully and declared that it should be about 6 weeks to do the port - just a straight copy of the existing funcfionality into the new API - no need to add features or change anything.
3 months later, they hired 2 additional MFC programmers. The new assessment was that they had made “good progress” and would be done in another 2-4 weeks.
3 months after that, they declared that they had big plans for future development of the software, and they were “90% done with the port” but they’re going to “build up the team” and they hired another 3 programmers with a position open for what would be the 8th member of the team, but they were “looking for just the right candidate” for that spot.
9 months after starting, I casually asked one of the programmers how the port was going and he said: “we’ve got about 80% of the original functionality working in the new system, and most of the development is starting to turn toward newly identified business needs.” “So, you don’t need the other 20% of the original feature set?” “Oh, no, we need that, it’s core to the business case, it’s just taking time to make it happen in MFC.” These were “good programmers” - no turnover, management happy with their efforts.
The original programmer was me, straight out of school, no management or mentor. The spec came from the company owner one feature at a time as ideas hit him I’d basically write them down on an electronic “sticky note” and when it was working to his satisfaction we’d throw that sticky note away, the code was the documentation. Eventually, the industry started requiring documented testing, so we hired an intern from the local college and she made some documents recording her ad-hoc testing of what the owner verbally described to her as the things the software should be doing, but mostly she read the code as her specifications. This was actually state of the art in the 1990s in most places I interacted with.
About 18 months before the 1998 buyers came around, we had another company try to reproduce about 10% of the original program functionality independently as a module in their existing software; this was agreed (insisted by the buyers, actually) to be done without our code to model from - just using our front-end hardware to collect the data. Instead of building a team, they hired a series of programmers, usually in 2s, and they’d usually quit after about 6 months. I think it was the 5th set of 2 programmers there that finally got that feature working.
So, 320 minutes would have been a pretty impressive port effort, but did you really expect the chainsaw to cut the whole forest down and load it onto logging trucks for you?
I wonder, in the “none of it works” area, how many days it would take to write requirements / specifications for what is expected and how long it would take Fable to fix the port to meet all those expectations? Probably quite a bit less than a year for one or two “good developers,” I would guess.
You sound like such a fucking loser it is incredible.
AI fanatics will never cease to amaze me in unpleasant ways.
Based on your comment history, you need a therapist.
So strange when I see replies to ml comments. I’ve had all those servers blocked since I started using Lemmy on all the instances I use.
Cuck porn
Are we going to repeat the same joke for each new model released…

Dead internet fact.
You require every post and content created and shared by people to be pure originality devoid of any influence from anything else?
Reposts will continue until morale improves.
Hold the phone. Do you mean to tell me, that the screen shot of a post I’m looking at is not an original funny joke created by the purported author, and is in fact an iteration of some other meme created by someone else?
What is wrong with people. Someone should call the people down at “the internet” and get all of this straightened out.
Sadly, no. Not everything on the internet is original. I know, it’s tough to hear that. I was heart broken too.
It was actually a post made by ChatGPT.
Yes, hello, I’d like to speak to the mayor of the internet. It’s about an urgent and very important matter.
Hello! I’m the Mayor Of The Entire Internet. What’s the matter, concerned citizen?
Yes. Also:

I for my part welcome the soapy tiddies GPT overlords.
Are these even real people or bot accounts other AI companies use to shit talk each other
“What did it cost?”
“The yearly energy consumption of a median household and $1,000”
Don’t forget the water usage
It depends on the size / complexity of what they’re trying to port, of course, but it’s not at all unusual for a programmer to be the main income source for a median household and to take a year on a project. Or, be a member of a 5-10 programmer team that takes 2-4 years to develop a project. In a “butts in seats” office world like we mostly had before 2020, that was a LOT of commute miles driven to make that software, way more than $1000, and energy consumption for the households and the offices and their HR, accounting and other administrative overhead…
Counting energy consumption by a programmer’s children as a cost of code generation? That’s the most capitalist thing I’ve read in a month!
Not acknowledging the costs of a programmer’s children is the ultimate late stage capitalism.
Yes but how many billable hours did they get for this 320-minute ordeal?
Spending $1000 on transportation costs commuting to and from work over a span of 2-4 years is completely different from burning through $1000 dollars of tokens in a single workday.
Especially if the boss now demands the same amount of output from you every day as the new normal.
And that’s not to mention how the energy and water consumption happens on a much shorter timescale than the drawn out one you needed to cite to make it seem comparable.
320 minutes of wall clock time on Fable tells you nothing, cost could be anywhere from $2 to $2000.
I’m not much of a gambling man myself, but you do you
My bet is the whole story is fabricated. It’s very plausible, but lacking any real detail.
Jesus Christ.
As an exercise to see what it would do, sure. But this just isn’t how one should go about this.














