• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: why Obj-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Re: why Obj-C (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: why Obj-C
  • Next by Date: Re: why Obj-C
  • Previous by thread: Re: why Obj-C
  • Next by thread: Re: why Obj-C
  • Index(es):
    • Date
    • Thread