• 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: static typing (Learning Cocoa Chapter 13)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: static typing (Learning Cocoa Chapter 13) (From: Chris Rudolph <email@hidden>)

  • Prev by Date: Re: static typing (Learning Cocoa Chapter 13)
  • Next by Date: Re: Free database engine?
  • Previous by thread: Re: static typing (Learning Cocoa Chapter 13)
  • Next by thread: Re: static typing (Learning Cocoa Chapter 13)
  • Index(es):
    • Date
    • Thread