Top
Best
New

Posted by speckx 2 hours ago

Quick impressions: A week of using Codex more than Claude(allaboutcoding.ghinda.com)
49 points | 55 commentspage 2
pupppet 50 minutes ago|
I find Claude more often gets my intent without having to spell things out for it, while Codex gets hung up on minor details and over-engineers a solution for them.
beering 1 hour ago||
> Changes created by Codex had fewer comments in Ruby/Ruby on Rails code. I liked that a lot, and I will soon share some experiments I ran on this.

Why is fewer comments a good thing?

muglug 1 hour ago||
Claude can add comments in code that are better just living as a comment on the PR.

You'll ask it to do something and it'll comment the code with an answer to what you asked it, rather than just explanatory comments to whoever comes after.

There's also a second issue that if the code is actually incorrect, the comment can nevertheless bolster the case for it.

stabbles 1 hour ago|||
Yeah, Claude insists on prompt-affirming comments, and often refers to the previous draft or implementation instead of the status quo.
o-o- 1 hour ago||||
> Claude can add comments in code that are better just living as a comment on the PR.

Not to Claude – its own, old comments have helped me/it solve new issues on more than one occasion.

jedberg 1 hour ago|||
Claude assumes humans won't look at code anymore. The comments are for the next Claude that comes in to change something.
rebeccajae 1 hour ago|||
I found that Claude would litter the codebase with what felt like notes-to-self. Sometimes it would make an abstraction that wasn't very well thought out and when I pushed back on this choice, it would usually go with something more along the lines of what I suggested in my pushback, but left a comment like "use the git CLI instead of re-implementing git" or something.

It felt like it was commenting on the diff sometimes instead of what the code was doing.

transdev12 1 hour ago|||
Claude comments look like this

//add returns the sum of x and y

//per section 2.1 of addition-implementation-plan.md sum is designed as the seam for user addition interfaces.

//previously sum added numbers, now it adds numbers

def add(x, y):

    return x + y
netniuq 1 hour ago||
just reading this comments made me despise the fact that I have to read this shit again tomorrow

It's really time to move to OpenAI...

transdev12 56 minutes ago||
I’m trying to pitch my boss on something like bedrock/foundry/vertex where we can just swap the model and still have it serverless over an api.

Digital ocean particularly looks promising as well.

rirze 1 hour ago|||
Claude is creating verbose comments with recent models and people are are tired of it
skeledrew 1 hour ago||
Those verbose comments provide context for why something is there way it is, so it can take those decisions in account when making changes in the future.
rplnt 1 hour ago|||
> why something is there way it is

It writes out stories describing what isn't there or what used to be there. It's usually not helpful, just noise. It also likes to write it in very verbose AI-styled prose.

zormino 1 hour ago|||
"don't write a goddamn novel" <- I've said this to claude way too many times, nothing you can do actually seems to make it significantly less verbose
orwin 1 hour ago||||
And the way they are written is rather unhelpful: '//this not cosmetic: this css helps the user understand where he should click'. The 'this is not' pattern is useless at best.
amdsn 1 hour ago||||
If they have in mind what I think of when I think of claude comments then frequently they are only relevant to the back and forth that produced the code and are exaggerated to the point of being misleading. A very common example is to land on something that isn't quite right or doesn't quite work, prompt an adjustment, and then the adjustment will have some grandiose prose about "preventing the critical bug that shipped once." People just need to clean up such litter manually but it would be nice if the models generated less of it.
hamandcheese 1 hour ago||||
The story of how the code got to a certain state belongs primarily in git commit messages, not in comments. Comments should serve to aid in understanding of the code, highlight footguns or hidden dependencies, etc.

Claude very often litters code with comments about decisions that were made within a single session/pull request, its just noise.

fpoling 1 hour ago||||
If one needs to dig history, then git log -p and similar are way more useful and reflect the real history rather than LLM inference about it. Comments reflecting the goal are more useful as neither history nor code itself covers it.
bryanlarsen 1 hour ago|||
Those massive comments generally refer to intermediate states that never shipped, making them utterly useless, noisy and confusing as a permanent artifact. They're sometimes useful to reviewers, so a commit message or pull request comment is much more appropriate.
eloisant 1 hour ago||
Yes I hate when Claude explain in comments how it is now compared to how it was before, or how it could be if a different decision had been taken.

Dude, just talk about the current state of the code!

grim_io 1 hour ago|||
Claude comments often contain the whole iterative chain of decisions that led to the current state.

Useful for the LLM to know the "why", but not something a human would do, unless it's a very critical and confusing part of the code.

CollinEMac 1 hour ago|||
Fewer comments is generally a bad thing.

Fewer AI-generated comments is generally a good thing.

WASDx 1 hour ago|||
Good code is self-explanatory and don't need comments.

I can really recommend the book Clean Code, here is a summary: https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988c...

splap 1 hour ago|||
I find claude often comments about what the code *does not* do. Relevant at the moment, but doesn't belong in the codebase.
slopinthebag 1 hour ago||
Kinda interesting reading people comment with completely contradictory anecdotal experience with the various models.
seamossfet 46 minutes ago|
I think a part of this is that people tend to undervalue their own skills and expertise when talking about these anecdotes.

A lot of people in the comments do have a software engineering background. People at different skill levels in different backgrounds are going to be using these tools in different ways, and that's going to heavily impact their experiences with these models.

Sure, there are differences between Fable and Sol. But I've even seen people on here saying that they're getting better mileage out of Qwen models they're self hosting.

I think the driver is just as important than the car, when it comes to this sort of stuff.

jatora 23 minutes ago||
I think this definitely applies to fable/opus/sol, mixed with the undeterministic nature of the models. But those claiming Qwen are just outright coping. Thats nonsense imo
aleksiy123 1 hour ago||
Agree with most of these.

One thing I don’t love about codex/sol is I find it tends to overengineer and be overly cautious.

I was using it to do create some scraping + data processing.

It went kind of crazy on the provenance, need at least 3 sources of consensus before promoting facts type bullshit.

defined a bunch of enums and gates.

I just wanted scrape some site data and put it into a SQLite dB. Like chill codex.

I feel like Claude is better at that.

spudlyo 40 minutes ago||
I've noticed that too with Sol (xhigh) it starts with pretty good architectural goals, but really get lost in the weeds with certification and validation. Like it won't trust native tools like (in my case packer, Ansible, gcloud) to fail reliably under possible error conditions, and insists on implementing custom verification.

It also doesn't have a clear idea of what the actual threat model is, and builds all kinds of extremely defensive systems to account for imagined hostile actors. I'm like "Dude, it's only our systems that are creating these SVGs, they're never going to be user supplied, so you don't need to write an entire validation and sanitation framework here."

It also seems to treat the desired initial state of something as a permanent invariant and designs elaborate tests to ensure that it remains that way. Then when you make one little change it has to go and update a ton of tests it created.

I've had to rip out a bunch of overengineered jank from several feature implementations, and in doing so I ended up having to create retrospective documents that warn against this kind of behavior that I'll have the model review whenever a plan begins to go sideways.

aleksiy123 18 minutes ago||
“Extreme defensiveness” is a good characterization.

I wonder if it’s an artifact of OpenAI’s values or rl training approach.

Also, it prob does make it perform better just not more efficient.

Great for the OpenAI employee working on security scanning who doesn’t have to pay for their tokens.

Not so much for the dev building their web app who is trying maximize their subscription.

Like hiring an aerospace engineer to build you a shed.

aleksiy123 1 hour ago|||
As a follow up.

I feel like codex/sol is better at well scoped hard technical problem.

Where it can sort of run this brute force analytical loop.

Like doing performance optimization or other search type problems. I think the math proofs are good examples of this.

pixelmelt 51 minutes ago||
Agreed, only LLM I can give a folder of packet traces from a multiplayer game and wake up the next day with a server that feels identical.
aksss 1 hour ago||
What, you don't like it proposing sha256 checksums and state enums for everything?? :D It does seem to have this predilection, but I find it calms down if I tell it to simplify for "this phase". Sure, we'll pick that up down the road.. I promise. :D
guywithahat 1 hour ago||
I broadly agreed with the authors experience, although I wouldn't say codex does anything "wrong". I think different agents/LLM's have different personalities, and it takes learning to understand how to get them to do what you want. I had the same experience when we started using claude at work, and I was trained on codex. Claude seemed to do everything "wrong", because I was writing instructions designed for codex.

I do agree claude looks for more things to do in your repo, whereas codex is more likely to do what its old and stop. Which is better is personal preference as far as I can tell.

enraged_camel 1 hour ago||
>> I think the main difference I feel between Claude and Codex is that Claude tries to go above and beyond what is asked and guess what you might want and then directly do it, while Codex is more like a companion that does what you tell it but will not overdo it. It will stop at the first sign that it might be done.

Damn, my experience is the complete opposite of this. I have posted about it a few times, e.g. https://news.ycombinator.com/item?id=49348265

tl;dr I gave GPT 5.6 a small-medium sized ticket, which should have been several hundred lines plus tests. It ended up creating a 25,000+ line diff. Another GPT 5.6 Sol with fresh context looked at the worktree and said 98% of it should be thrown away. Claude thought the same, and suggested that several dozen compactions the model went through over several hours must have caused it to go adrift. I guess that's one consequence of having a relatively small context window.

I still use Sol quite a bit. I find that it's consistently the opposite of what the author describes: it's too relentless. It doesn't know when to stop. Opus is the opposite: it'll give up a bit too easily. If everything goes well that's not an issue, but often times it'll say things like "task is done, btw I couldn't do X Y Z" and X Y Z will be some important verification step that failed because another agent was using that resource or something.

At this point I trust GPT 5.6 mostly with surgical changes, or general codebase exploration tasks. It is a faster model, so it's easier to get small things done with it. For everything else I prefer Claude, despite its annoying tendencies.

sejje 1 hour ago|
I run sol on medium about 90% of the time. Maybe that's worth a try. Especially for a small change.
Transformanshen 1 hour ago||
[dead]
theaiedge 1 hour ago|
[flagged]