Hacker News new | ask | show | jobs
by pavlov 1648 days ago
For me, native macOS with AppKit (Cocoa) and Objective-C is still the best and most productive development environment.

No client/server division to worry about, all of the desktop environment's capabilities developed over decades, insane CPU and GPU power and memory bandwidth (now on Apple's industry-leading ARM chips). Obj-C gives seamless access to both C/C++ APIs and the best desktop GUI with incredibly powerful features like the Cocoa text system.

1 comments

You still like Obj-C more than Swift? I vastly prefer Swift to Obj-C, and I used to code in Obj-C professionally.
I (have to) write C++ professionally. With that constraint, it's easier for me to work in Obj-C because its runtime is so thin and it's generally obvious how it interoperates with C/C++.
I'll take Obj-C over Swift any day. With Swift I feel like I have one arm tied behind my back and I'm constantly wrestling with it in order to do what I want.
Like the person you replied to, I vastly prefer ObjC, I find the compiler pedantry in Swift to be annoying and to slow me down. ObjC is very fast to write and to iterate on, particularly in my style where everything that's an object gets typed as `id` so trying new ideas just means swapping out implementations.