r/Xcode • • 5d ago

Can we all agree XCode is a buggy IDE?

13 Upvotes

38 comments sorted by

2

u/utilitycoder 4d ago

Who still uses the IDE?!

1

u/Educational_Bug2558 4d ago

We do! 😁

3

u/utilitycoder 4d ago

I led a team of Mobile engineers and it baffled me when I would see them staring at a wall of code trying to figure out a bug.

I used to say Screenshot that and give it to Claude. Now pretty much everyone is just using AI from the command line to build software.

No mouse required and you can do it from your phone too!

1

u/Glum-Whereas9191 2d ago

People who care about not pushing uncensored AI slop to prod still use IDEs.

1

u/utilitycoder 2d ago

Can you provide an example and also which model you used and which prompt? There is also the case that perhaps what the AI is doing is more advanced than the developer can understand.

1

u/Glum-Whereas9191 2d ago

No it’s not. Claude (opus or fable) loved making functions for everything, even if it has no utility. It loves unnecessary abstractions, making the code harder to read and troubleshoot by anyone but another bot. Our code base is in an unconventional language (not the usual stacks), so it tries applying JS conventions in our code base. At this point, I mostly use it for code reviews and for hunting bugs, it is very useful for that.
As a senior developer, it is my job to maintain code quality and maintainability. I fucking hate all juniors pushing slop with massive unnecessary comments, functions, components etc. Makes my life a lot harder and the code base more bloated.

1

u/utilitycoder 2d ago

Hard to imagine, solving impossible for human mathematical problems, but not being able to Sling a little code. Would still love a concrete example of a mistake that it made.

1

u/Glum-Whereas9191 2d ago

I don’t know how I can give you a concrete example without context of the codebase, but what I have found is it is great for one off scripts or if you are making a product from scratch and don’t particularly care about the architecture, or following something very common that it is trained on. Our codebase is a legacy codebase, has ~30 years of code, different architecture from different times, it uses an older language. With that, Claude, when given a task, will abandon all existing architecture patterns and start cooking its own shit up. This includes database queries, we use a lot of raw SQL, the quality of the queries is absolutely dogshit. It does not understand when to use which generation of architecture, and unguided (like junior devs tend to do) it produces a looot of janky code. Mh life has literally become reviewing code from junior developers and pointing out issues created by a fucking bot

1

u/utilitycoder 2d ago

Given the sub and Xcode context, I wasn't expecting your case to be legacy code, languages and SQL. I can understand AI editing tools being less than ideal in a codebase with a lot of tribal knowledge patterns. But neither AI nor Xcode sounds suitable for that!

1

u/Glum-Whereas9191 2d ago

Lol your entire comment was about IDEs. VSCode is an IDE. You are on an xcode sub making fun of people using IDEs like xcode and vscode

1

u/utilitycoder 2d ago

I said 'the IDE' as in Xcode. But this was fun!

2

u/Cy-Dev 3d ago

Nope. Best IDE for me, like it way more than Android Studio, VS Code, PyCharm etc

1

u/Educational_Bug2558 3d ago

Thank you for the comments ❤️

11

u/Niightstalker 5d ago

When switching between Xcode and Android Studio I actually have more annoying issues in Android Studio

1

u/TheFlyingDutchG 4d ago

True but IMO android studio is a bit of a mess on its own for structure and features that causes the annoyances, where Xcode is already a finished product that still contains bugs

5

u/Niightstalker 4d ago

Not sure I get your point? Are you saying Android Studio is not a finished product after existing more than a decade? I definitely encounter bugs in Android Studio as well.

4

u/QVRedit 4d ago

Apple does not seem to put enough development effort into debugging Xcode. It’s never been quite as good as it could be. I would argue that it should be their best possible product.

11

u/wesdegroot 5d ago

It's not the best out there, and yes there are bugs bit it works okay. Try to make your own IDE and then you'll respect other IDEs more

3

u/tonjohn 4d ago

Apple is one of the wealthiest companies on the planet.

While the individuals that work on developer tooling like Xcode deserve empathy, the company does not. Apple can and should do better.

0

u/Oxigenic 3d ago

The problem is that Xcode is not just an option. It’s the ONLY option for most iOS / macOS devs. If Apple is going to force that they should do better.

1

u/mabelmints 2d ago

This clarified my curiosity. Wanted to know if Xcode was the only option for iOS deving

-1

u/brifgadir 4d ago

There’s no need to make your own IDE since there’s VSCode with plugins.  VSCode proves that an IDE can be without bugs. Accompanied with an AI agent it keeps you away from XCode for 95% of the cases. Though, Device Hub is even more buggy than XCode, so the brand Apple-user experience can’t be bypassed completely. 

1

u/AbsoluteGolde 5d ago

Im coming from Java with intellij and planning to learn swift. Is it as good as intellij when working with swift?

3

u/Educational_Bug2558 5d ago

It’s good but it comes with some technical bugs that I say. But it’s a good one.

1

u/zvaavtre 4d ago

👋 been there done that for the last N years.

Xcode has always been a text editor first and an IDE second. (As are most so called IDEs).

Some of its historical conventions about autofill and code completion feel very very odd coming from IJ.

The thing to keep in mind is the environment it builds artifacts for is very different than making a jar file that you can reuse anywhere.

Think Bazel or any C flavored toolchain.

The good news is that they are adapting to the swift package manager so at least you can look at that and see wtf is going on if you pick that as a starting point.

Anyways. Swift is interesting coming from Java

1

u/Professional_Mess866 3d ago

Woot? TextEditor First? You must be kidding me! Opening some random "text" from the finder with XCode is a nightmare!

1

u/zvaavtre 3d ago

I don’t know how else to describe the feel of it. IntelliJ or netbeans or Delphi/jbulder (look them up) have always felt like working with the syntax tree of the code whereas xcodes roots in code warrior have always felt like a text editor with code stuff added on. Same with vscode and many others. Text editors with plugins

In IJ you can do a lot of work in a file where the code is completely malformed and all the syntax highlighting, smart autocomplete all still work. Background compiles keep going etc.

In these other tools not so much.

Xcode of today is vastly improved for sure. Maybe just in time for no one to care.

I will say the lastest version has done some great work integrating agents into the overall ux.

All imho

2

u/Professional_Mess866 3d ago

I agree. I think you misunderstood me. I just wanted to say, to use it as a simple text editor is useless and a waste of time. Takes ages to "find" a Project, even if None is there. I prefer vim as TextEditor, but that may be because I'm coming from linux

2

u/zvaavtre 3d ago

Ah. For sure Xcode is way to much just for opening a file for a quick edit.

With the advent/resurgence of TUIs we have more options than ever. Textmate is a good tool that’s a nice middle ground. Been using vi since the mid 80s but some things are just easier for me with a gui so a keep an instance of it running. Can load a file or directory tree from the cli for a quick edit.

1

u/Professional_Mess866 3d ago

Thx. I will give textmate a try, since our IT decided that Notepad++ is a bad tool (Like Malware). 

0

u/tonjohn 4d ago

Xcode is clunky and arguably the least intuitive of all the popular IDEs / editors.

Swift UI previews are really cool but otherwise I prefer to avoid Xcode.

2

u/Patient-Pollution46 4d ago

We have to have this thread in this subreddit 😂

2

u/egorf 4d ago

Facts do not require agreement or disagreement

2

u/Professional_Mess866 3d ago

Calling it an IDE is an insult!

2

u/Oxigenic 3d ago

Just look at the App Store rating for Xcode. You’re not alone.

1

u/dreamingwell 4d ago

Worst ide I’ve ever used. Completely unintelligible and buggy. Some how worse than the old .Net v1

0

u/nickjbedford_ 5d ago

Yes. Happy to.