Hacker News new | ask | show | jobs
by zyb09 5276 days ago
Yeah at first, but once you get used to the syntax and long method names, it's your standard static OOP language. Has some cool feature actually, like Blocks etc. Like it more then Java now.

Also what's really cool is, that you can seamlessly mix in C if you feel like low-level programming, I like that.

2 comments

"you can seamlessly mix in C if you feel like low-level programming"

This is a huge plus. I've dropped to the C level on a number of occasions already in my projects. I also makes it MUCH easier to drop in existing C libraries for extra functionality since you don't have to write language bindings for it.

> Has some cool feature actually, like Blocks etc.

The blocks are kinda crummy though, and the verbosity is definitely verbose. `enumerateObjectsUsingBlock:` is a far cry from Smalltalk's `do:` (and its signature is awful too, even more so due to ObjC's lack of generics)

... so create a category called "do:" and change the signature (clang won't bark at you like GCC).

blocks are closures and they have some semantics like function pointers.