4 ms·
Exactly! I think they only need some kind of way to add syntax for obj-c style messages. If only objc would remove the square brackets (and stay true to smallt
by chriseidhof 15y ago
Exactly! I think they only need some kind of way to add syntax for obj-c style messages.
If only objc would remove the square brackets (and stay true to smalltalk), the syntax would be so much nicer:
NSArray* array = NSArray alloc init autorelease
NSDictionary* dict = NSDictionary dictionaryWithObjectsAndKeys:obj,key,nil
...
- jacques_chester 15y ago> Exactly! I think they only need some kind of way to add syntax for obj-c style messages. http://olua.sourceforge.net/ http://olua.sourceforge.net/ ? > If only objc would remove the square brackets (and stay true to smalltalk), the syntax would be so much nicer: Objective C is (or at least it used to be, not sure ATM) a strict superset of C. One of the ways this is achieved is through having orthogonal syntax for the smalltalk-ish bits compared to classic C.