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

They just added generics to Obj-C, which is one of the biggest new language features in a long time.


I guess that is just required for interoperability with Swift.

Generics don't make much sense in Objective-C dynamic model.


Funny you should mention that. Quoting Apple's own docs:

> Objective-C lightweight generics are ignored by Swift. Any other types using lightweight generics are imported into Swift as if they were unparameterized.[1]

So it doesn't look like the goal here is Swift interop.

[1]: Excerpt from Using Swift with Cocoa and Objective-C (Swift 2 Prerelease) https://itunes.apple.com/us/book/using-swift-cocoa-objective...


From the talks today it seems Swift interoperability was indeed the purpose.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: