Re: Deprecated method documentation
Re: Deprecated method documentation
- Subject: Re: Deprecated method documentation
- From: Patrick Machielse <email@hidden>
- Date: Wed, 12 Nov 2003 11:23:02 +0100
op 12-11-2003 00:21 schreef John Timmer op cocoa-dev-request:
>
>> Is there any standing list of deprecated methods? The NSString docs don't
>
>> even note the deprecation when stringWithCString: is covered.
>
>
>
> This would be a good idea, in my opinion. Updated with every new release of
>
> the frameworks.
>
>
I think Sun's documentation of Java might also be a good model to follow.
>
It's been a while since I used them, but I seem to remember the docs for
>
every method and class including information on when they would be
>
deprecated and, if already done, what version was the last to include
>
support for it.
Why hasn't 'deprecation support' been implemented in the compiler, again
like in Java. Why not let the compiler warn us about deprecated methods in
the first place? (we would have noticed the depracation of
stringWithCString: in Jaguar, I too found out by accident...)
We now have 'cross compile' support, so it would be a good idea to include
deprecation warnings with that.
Groeten,
Patrick
_______________________________________________
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.