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

>However, they're also adding to the language in ways that makes the code expressed in Objective-C simpler:

>Synthesizing properties

>Dot-syntax for accessing getters/setters

>Garbage Collection

>Blocks (closures)

>Automatic Reference Counting

>Weak references

Sorry, but none of these things make the language any simpler — they all add yet another style of doing things that only raises the bar and the learning curve for new developers when reading existing code, in precisely the same way that C++ and Perl have done. And this is true even of garbage collection (which, by the way, is deprecated in 10.8), because it needs to coexist with other frameworks and code that might not be garbage-collected, and more importantly because all heap-allocated C buffers consequently require their own low-level wrappers (e.g., NSAllocateCollectable, objc_memmove_collectable, etc.).



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

Search: