News for hackers. Stuff that matters.
Re:Safari 14 added WebExtensions support, so where are the e... by flohofwoe on Monday January 18, 2021 @04:56AM (#25820109)
IMHO Xcode is at most "barely acceptable" when compared to most other IDEs, there's a lot more bad things than good things.

Why is it such a hassle to install a vim extension, requiring code-signing shenanigans? In other IDEs and text editors this is at most a few button clicks to install an extension.

The "Scheme" system to manage per-target options is a joke even when being used to it.

The debugger variable-view-panel is extremely bare-bones.

Xcode used to be slick, but since a few years everything gets bigger, slower and laggier. Starting up, loading projects, starting into the debugger all takes much longer than it should.

It's unclear how the "new" build system is any better than the "old" one. Apart from being slower than the old one I haven't found any differences so far.

The one thing where Xcode shines and was ahead of the competition is the easy integration of C/C++/ObjC validation tools like clang analyzer, ASAN, UBSAN and TSAN.

Re:Safari 14 added WebExtensions support, so where are the e... by saagarjha on Monday January 18, 2021 @07:17AM (#25820988)
Xcode is…not very extensible IDE, I'll grant you that. The true impact of XcodeGhost is felt to this day :( I wish it was more extensible, and have myself done sketchy things to make it so, but I entirely agree with you that this is not a positive by any means.

If you are dealing with Xcode settings, move everything you can into xcconfigs, full stop. Just do it. It will save you countless merge conflicts, you'll be able to do mix and match and inheritance easily, and you'll actually understand what your build process is doing rather than it being a black box. I have no qualms blowing away targets and schemes now because I can just make them on demand and let Xcode autocreate the rest. I can "rebrand" an app in seconds and undo the changes in the same amount of time. Things which get used by other people always have ⌘B do the full build rather than some strange dance of "oh CocoaPods changed those settings so you should try to not set your development team on these targets and the dependency analysis is a little broken so…".

Debugger variables are…fine, I guess? I think the biggest issue I have with it is that it's placed in a not-so-great place, where it is generally to small to really see things. So usually I grab that information myself through a combination of p/po.

Xcode is still slick, IMO. Performance wise I haven't seen a huge change–it gets steadily bigger and slower and more complicated, but at about the rate that I update my computer. The people testing Xcode are clearly not using an Early 2015 MacBook Pro like I am, so I write off some of the features like Playgrounds or Previews or many simulators, but other than that I guess it's fine? I certainly value that it opens "immediately" rather than "initializing" (looking at you, Java-based IDEs…).

Where Xcode really shines is the things you touched upon: its integration with LLVM is first-class. It's certainly my preferred frontend to LLDB. The ability to flip on a bunch of diagnostics with one click has surely found many bugs, and the the built-in tooling for debugging memory graphs and view hierarchies is quite good–yes, it breaks sometimes, but it gives me useful results that I can't quickly get anywhere else nine times out of ten. Instruments is certainly unparalleled on macOS for external developers, and in comparison to tooling elsewhere it's a very solid offering.

Finally, of course, it's a nice native Mac app that plays well with all the other ones. That has to count for something :)

Re:Safari 14 added WebExtensions support, so where are the e... by deergomoo on Monday January 18, 2021 @06:02AM (#25820479)
> IMHO Xcode is at most "barely acceptable" when compared to most other IDEs, there's a lot more bad things than good things

It's the text editing portion of it that's really lacking IMO. It's only has multi-cursor support and tabs (tabs!!) for a couple of years.

Re:Safari 14 added WebExtensions support, so where are the e... by robenkleene on Monday January 18, 2021 @06:22AM (#25820612)
Valid complaints in this thread, but just a quick correction that Xcode has supported tabs since 2010 (https://stackoverflow.com/questions/1184997/enabling-tabs-in...).
Re:Safari 14 added WebExtensions support, so where are the e... by coldtea on Monday January 18, 2021 @07:29AM (#25821103)
>It's only has multi-cursor support and tabs (tabs!!) for a couple of years.

It has had tabs since forever. As for multi-cursor support, that only got really popular in the past few years (first on Sublime Text iirc).

Re:Safari 14 added WebExtensions support, so where are the e... by user-the-name on Monday January 18, 2021 @06:20AM (#25820588)
Multi-cursor support is something I want maybe once every few months? Certainly nowhere near a crucial feature, and barely one that makes a list of nice-to-have things.
Re:Safari 14 added WebExtensions support, so where are the e... by saagarjha on Monday January 18, 2021 @07:19AM (#25821012)
Multi-cursor editing is frequently a very good substitute for inscrutable vim or awk.