Re: String Literals and KVC
Re: String Literals and KVC
- Subject: Re: String Literals and KVC
- From: Nir Soffer <email@hidden>
- Date: Sun, 11 Jun 2006 15:39:00 +0300
On 11/06/2006, at 14:58, Sanjay Samani wrote:
- Without syntax highlighting of strings, I actually personally
find the code to be less readable with string contsntants.
True.
- Also the string constants names have to be name space clean, I
end up with silly names like XYMyVariableKey which is even less
readable.
True.
- KVC keys are quite easy to debug cos you simply get a runtime
error saying xyz object is not KVC compliant for key: garbledKey,
so you don't get some of the issues you get with other string literals
But with string constants you get *compile time* error.
Best Regards,
Nir Soffer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden