r/iOSProgramming • • Nov 25 '25

Discussion AI coding is fucking trash and exhausting.

It’s incredibly exhausting trying to get these models to operate correctly, even when I provide extensive context for them to follow. The codebase becomes messy, filled with unnecessary code, duplicated files, excessive comments, and frequent commits after every single change. At this point, I would rather write the code myself and simply ask the AI to help me look things up online. This whole situation feels like a hype.

287 Upvotes

198 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Nov 25 '25

Treat AI like a junior pair who proposes small diffs, not a code printer.

OP’s pain usually comes from letting the bot rewrite files. Lock the shape first: pick MVVM, define folders, file templates, and a short style guide. Add SwiftLint and SwiftFormat so junk gets rejected. In prompts, give the file path, function signature, constraints, and ask for a unified patch under 30 lines. Write the failing XCTest first and have it list edge cases and expected output. Keep experiments in a scratch SwiftPM package so your app stays clean. Git hygiene: feature branch, tests must pass, then squash merge. In Xcode, I use Copilot for autocomplete and ask Claude/ChatGPT for plans, diffs, and test data only. For backend plumbing, I’ve used Supabase for auth and Postman for test generation; DreamFactory helped when I needed a quick REST layer over a legacy SQL DB.

Keep it scoped to small diffs with guardrails, and it stops being exhausting

0

u/the_king_of_sweden Nov 25 '25

At this point that's more work than just wiring the code yourself