• 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: is this badly written code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: is this badly written code?


  • Subject: RE: is this badly written code?
  • From: "john darnell" <email@hidden>
  • Date: Tue, 15 Apr 2008 10:46:10 -0500
  • Thread-topic: is this badly written code?


-----Original Message-----

>> 2.)  Symmetry can add elegance to the visual aspect of your code, and
>> thus make it more pleasing to the eye, and easier to decipher. For
>> example, when I have a long list of includes, I often do this to
>> them:
>>
>> #include          <aaa.h>
>> #include <bbbbbbbbbbbb.h>
>> #include         <cccc.h>

personnaly i prefere to sort line by size ;-)

#include  <aaa.h>
#include <bbbbbb.h>
#include  <cccccccccc.h>

[John Darnell says:] Yeah, that would work, too.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >is this badly written code? (From: "Adam Gerson" <email@hidden>)
 >Re: is this badly written code? (From: John Stiles <email@hidden>)
 >RE: is this badly written code? (From: "john darnell" <email@hidden>)
 >Re: is this badly written code? (From: glenn andreas <email@hidden>)
 >Re: is this badly written code? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: is this badly written code?
  • Next by Date: Re: is this badly written code?
  • Previous by thread: Re: is this badly written code?
  • Next by thread: Re: is this badly written code?
  • Index(es):
    • Date
    • Thread