I am doing my PRs of shame now to rewrite and tidy some of the absolute junk that I let Opus and Codex add to my project last week.

Why yes, they can code in Swift!

Just not well.

I'm patiently waiting for any LLM to get better at native software work.

Being positive for a moment, it is a truth universally accepted that it's far easier to rectify something that's broken than to start entirely from scratch.
@tonyarnold agreed. Unless it’s built on a pile of poor assumptions or design choices that require a rewrite
@tonyarnold this is not universally accepted 😉
@mattiem damnit Matt stop poking holes in my extremely well worded quips 🙈
@tonyarnold @mattiem but how do you tell if they’re cooked through
@tonyarnold They can, but they can’t write properly indented code. Same like most humans tbf.
Little help if you have to reindent all the stuff manually afterwards, could have written it w/ proper styling in the first place.

@helge I have swift format setup and (mostly) let it do what it wants to with a formatting stage afterward.

I do the same on teams, too - I really wish there'd been advancement on how code is stored such that formatting didn't matter at all and ended up being a client side decision for display.

@tonyarnold Well, people who use linters are the perfect audience for coding agents, imo. 🏃‍♀️
@helge shots fired!
@tonyarnold And formatting really doesn’t matter at all to the compiler, you could display the semantic ast however you wish. We don’t need to change the storage format for that.

@tonyarnold Opus 4.6 is finally at the minimum quality for Swift I think. With heavy guardrails, examples and handholding it can produce something almost reasonable on the first go.

If its support to TypeScript is anything to go by it can still improve a long way.

@bok minimum quality, yep, I'm seeing the same. It's the sort of code you'd get from a junior and send back for revisions - if you've got the tokens to burn, that is.

Hopefully it continues to improve.

@tonyarnold how are you finding token usage with Opus these days? Still hitting limits quickly?
@JamesTech I'm on the $30 per month plan, so not great. I get a handful of requests in before I run out of usage - it's nowhere near what you get with Codex (and I fear that's temporary while they're promoting the desktop app).
@tonyarnold @JamesTech Same here. I feel like Claude token increased a little recently, but I still run out every time I use it. I rarely run out on Codex. I think I may have once.
@ryanbooker @tonyarnold damn, was hoping to move back to Claude
@JamesTech @ryanbooker none of these companies have any incentive to lower their prices, or provide you with additional usage. I remain very skeptical that you’ll ever get better value than what you get right now.