Re: static typing (Learning Cocoa Chapter 13)
Re: static typing (Learning Cocoa Chapter 13)
- Subject: Re: static typing (Learning Cocoa Chapter 13)
- From: Ondra Cada <email@hidden>
- Date: Sat, 22 Sep 2001 22:58:25 +0200
Chris,
>
>>>>> Chris Rudolph (CR) wrote at Fri, 21 Sep 2001 15:07:43 -0700:
CR> This simple and more elegant solution is to NOT declare multiple
CR> variables on the same line.
It's not that elegant, actually. It's nice to have a code of any method fit
to the screen for obvious reasons; the difference between
NSString *s1,*s2,*name=[a objectAtIndex:0],*a,*b,*val=[d objectForKey:key];
and the corresponding six lines is tremendous, and definitely in favour of
the format above.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc