« Core Animation: AwesomeI, for one, welcome our new Apple overlords »

I think I prefer ObjC 1.0

Since Leopard came out, I’ve been trying to change my coding style to match ObjC 2.0. I figured things like ObjC 2.0’s ability to automatically build accessors would be a good thing. I’ve always advocated dot syntax but I’ve never mixed it with another syntax.

I found out lately that I really actually prefer bracket syntax. I can read it easily. When I mix dot syntax with the brackets, readability drops sharply.

I’ve also found that using TextMate’s snippets is a much easier way (and more customizable) way to add accessors than ObjC 2.0’s properties.

Don’t get me wrong, I love the new garbage collection (when I use it), but I can do without the syntax changes. Any other opinions?

Leave a Reply