Live data from Hacker News

Ask HN: How many of you Apple developers still use Objective C?

news.ycombinator.com

91–100 of 160 posts

Re: Ask HN: How many of you Apple developers still use Objective C?

#91
post #35

I've given up on Apple platform development, but I strongly prefer Objective-C over Swift for a variety of reasons, including elegance, compatibility, stability, etc. It's important to note that there's still tons of Objective-C written inside Apple to this day, perhaps more than Swift. What Apple pushes as what you should be using is often not what they are using internally, FWIW. Third-party developers are its true…

You could probably say the same about most large public orgs. For instance many Amazon teams don't even use modern AWS internally for their services. At least as of three years ago.

At Google, it's really hard to use GCP for first-party products due to all the security lockdowns.

Re: Ask HN: How many of you Apple developers still use Objective C?

#92
post #35

I've given up on Apple platform development, but I strongly prefer Objective-C over Swift for a variety of reasons, including elegance, compatibility, stability, etc. It's important to note that there's still tons of Objective-C written inside Apple to this day, perhaps more than Swift. What Apple pushes as what you should be using is often not what they are using internally, FWIW. Third-party developers are its true…

Elegance. I keep hearing that from obj-c devs and I really don’t understand what is so elegant about it. Maybe it’s more to do with familiarity? I find swift much easier to deal with and more “elegant” to read.

It's subjective, but from my viewpoint, the message passing and it's relative simplicity and readability, compared to Swift.

I can completely see why people would think the opposite, though.

Re: Ask HN: How many of you Apple developers still use Objective C?

#93
post #17

I use Objective-C exclusively (no Swift) in my App Store apps. I wrote a Swift app for a hobby/free project a few years ago and regretted it. They changed the language and deprecated some of my code, which isn't easily replaceable without a significant rewrite. The project now compiles only in Swift 4 and will die when Swift 4 support is removed from Xcode. I see no reason to use Swift. The compiler is slower and bug…

As a counter-anecdote from someone who also runs their own company, I began dabbling in Swift in 2014. I held off on full Swift adoption until after the big API renaming that happened with Swift 3, so language migrations haven’t been a big deal. The compiler is slower, but I can still do a clean build in 43 seconds. Maybe I’ve had a good experience because I’m not working on a FAANG project with a million lines of co…

[deleted]

Re: Ask HN: How many of you Apple developers still use Objective C?

#94

Earlier quoted context omitted.

absolutely the same here. the problem with Swift is that it is a systems programming language and not an app-development language. far to cumbersome, complicated and unproductive for writing apps.

What makes it a systems language and not an app-development language?

[deleted]

Re: Ask HN: How many of you Apple developers still use Objective C?

#95
post #32

Earlier quoted context omitted.

You’ll have an increasingly harder time adopting new Swift-only APIs For example OCR - you can use the old low quality Vision API but the new ImageAnalyzer can’t be accessed via ObjC and requires custom bridging. More and more new APIs will be Swift exclusive

I'll cross that bridge when I come to it.

*bridging headers

Re: Ask HN: How many of you Apple developers still use Objective C?

#98
post #86

Earlier quoted context omitted.

You said you make the utilitarian choice. By using C everywhere, you can use an even faster compiler that doesn’t insert those calls for you. So why don’t you?

> By using C everywhere, you can use an even faster compiler that doesn’t insert those calls for you. In the previous comment you said I should use objc_msgSend, now you say I shouldn't. Make up your mind. ;-) Anyway, I'm using AppKit and UIKit to write apps. The API is Objective-C. That's why I write Objective-C. Whatever the heck you're talking about—you appear to be confused, so I don't know what exactly you mean…

[flagged]

Re: Ask HN: How many of you Apple developers still use Objective C?

#99
post #86

Earlier quoted context omitted.

> By using C everywhere, you can use an even faster compiler that doesn’t insert those calls for you. In the previous comment you said I should use objc_msgSend, now you say I shouldn't. Make up your mind. ;-) Anyway, I'm using AppKit and UIKit to write apps. The API is Objective-C. That's why I write Objective-C. Whatever the heck you're talking about—you appear to be confused, so I don't know what exactly you mean…

[flagged]

Ben, don't play coy and pretend you weren't trollling when it's 100% clear now that you're trolling, and everyone can see that. I'm done here.
Post reply on HN