3 ms·
I have the same opinion and I don't see anything weird about it. They're both OO languages without many features compared to C++ or something, but Obj-C is dyn
by astrange 17y ago
I have the same opinion and I don't see anything weird about it.
They're both OO languages without many features compared to C++ or something, but Obj-C is dynamic and much more flexible (see NSProxy, NSArray class clusters, etc.) whereas Java is not at all.
Plus Obj-C is actually C, so you can write "if (!i)" without the compiler deciding you're too stupid to handle implicit type conversions.
By the way, I've noticed that people (who don't seem to use it often) complain about the extremely long method names in Obj-C, but if you count by the number of tokens instead it can be pretty terse. And I think that's how reading natural language is supposed to work, anyway…
- cpr 17y agoThat's one of Cocoa (Touch)'s strengths, actually, and part of the 'secret sauce': Ozer and crew have developed a really good set of naming conventions over the years, and use them well. I like the long names. It's very Smalltalk-like, and Xcode completion mostly takes the pain out of it.
- cubicle67 17y agohow'd you do the upside-down exclamation mark?
- jodrellblank 17y agoThe letter i?