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

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

...



> Exactly! I think they only need some kind of way to add syntax for obj-c style messages.

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.




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

Search: