Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>Wow Objective C still banging.

Objective-C is a fantastic language. Apple is still writing tons of it. It's the C++ we should have ended up with. Protocol oriented programming is an absolute revelation if you've never been exposed to it before. And being a superset, the ability to seamlessly drop in and out of pure C within the same file is something no other language can do. It also happens to have the most highly cohesive, battle tested, well documented interface libraries in existence for native desktop apps with Cocoa/AppKit/CoreGraphics et.al.

One thing I've found recently is that Obj-C actually works extremely well with agentic coding tools too. Having header files is like a cheat code for them. You don't have to fill your context with implementation code; just the interfaces, and the agent can actually reason about an entire huge codebase.



Apple Spent the past 10 years working on Swift and all of its tools and slowly rewriting Apps in Swift when they could have continue to use Objective-C.


> being a superset, the ability to seamlessly drop in and out of pure C within the same file is something no other language can do.

C++ and Objective C++ can do it just as well.

D and Zig have good C ABI integration.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: