Re: why Obj-C
Re: why Obj-C
- Subject: Re: why Obj-C
- From: Ondra Cada <email@hidden>
- Date: Tue, 9 Apr 2002 15:10:51 +0200
On Tuesday, April 9, 2002, at 02:36 , Marcel Weiher wrote:
On Tuesday, April 9, 2002, at 12:32 Uhr, Ondra Cada wrote:
On Tuesday, April 9, 2002, at 03:28 , John C. Randolph wrote:
foo = [[MyClass alloc] initWithSomeOtherObject:[OtherClass randomObject]
];
foo=MyClass->alloc()->initWithSomeOtherObject(OtherClass->randomObject()
)
;
Sure, this works, but let's see what the good doctor has to say on this
subject:
Yup, I said that (dots or arrows) was quite ugly ;)
Actually, since I am cursed by an unfortunate necessity to write sometimes
in the C++ rot, I've even made a preprocessor of mine which allows me to
use a decent syntax instead of those dots and arrows -- if anybody
interested, have a look at
http://www.ocs.cz/xsdk/Documentation/XPreprocessor.html ;))
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.