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

To name a few: Swift's type system is far more sophisticated (e.g. you can say "This is a list of numbers" and have it statically enforced that you don't accidentally stick a string in there), it does a lot of plain direct dispatch rather than Objective-C's dynamic-everything, and it uses a proper option type instead of having null landmines everywhere.


Objc just got dynamics :)


I'm confused. Objective-C has had dynamic typing, dynamic dispatch and dynamic pretty much everything for years. What does "just got dynamics" mean?


I had a brainfart and meant to type generics




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: