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

> ObjC was intended to be used in a different way though. ObjC OO is C with an OO layer for interop. You're supposed to write 95+% pure C.

Hmm, it seems then that the programmers at NeXTStep and Apple didn't understand ObjC either, because the highlevel macOS/iOS APIs almost never use C structs for grouping simple data items but instead expensive ObjC objects where even the most simple setter/getter operation involves an objc_msgSend call under the hood.



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

Search: