• 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: Looking at self = [super init].
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking at self = [super init].


  • Subject: Re: Looking at self = [super init].
  • From: Graham Cox <email@hidden>
  • Date: Wed, 03 Jun 2015 10:38:39 +1000
  • Sun-java-system-smtp-warning: Lines longer than SMTP allows found and truncated.

> On 3 Jun 2015, at 10:19 am, Michael David Crawford <email@hidden> wrote:
>
> If their coding conventions are
> the sort that are likely to lead to correct code


The reason for coding style guidelines is a) correctness b) maintainability. If it’s just a fetish that the chief developer has and he can’t back it up with reasoned argument then that’s suspect.

Having been handed several uncommented and undocumented messes and left to sort it out a couple of times in my career I’m very sensitive to the needs of developers coming to a codebase cold. I try to write code in such a way that I imagine a developer who’s never seen it before could get up to speed in a relatively short time, even if 99% of the time that developer is me, several years removed. There’s nothing worse than wasting hours wondering “what the hell was I thinking?” instead of just reading a comment that explains what I was thinking.

—Graham



_______________________________________________

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


  • Follow-Ups:
    • Re: Looking at self = [super init].
      • From: Michael David Crawford <email@hidden>
References: 
 >Re: Looking at self = [super init]. (From: Dave <email@hidden>)
 >Re: Looking at self = [super init]. (From: Britt Durbrow <email@hidden>)
 >Re: Looking at self = [super init]. (From: Quincey Morris <email@hidden>)
 >Re: Looking at self = [super init]. (From: Charles Srstka <email@hidden>)
 >Re: Looking at self = [super init]. (From: Michael David Crawford <email@hidden>)
 >Re: Looking at self = [super init]. (From: Britt Durbrow <email@hidden>)
 >Re: Looking at self = [super init]. (From: Charles Srstka <email@hidden>)
 >Re: Looking at self = [super init]. (From: Jens Alfke <email@hidden>)
 >Re: Looking at self = [super init]. (From: Charles Srstka <email@hidden>)
 >Re: Looking at self = [super init]. (From: Jens Alfke <email@hidden>)
 >Re: Looking at self = [super init]. (From: Charles Srstka <email@hidden>)
 >Re: Looking at self = [super init]. (From: Kyle Sluder <email@hidden>)
 >Re: Looking at self = [super init]. (From: Michael David Crawford <email@hidden>)
 >Re: Looking at self = [super init]. (From: Graham Cox <email@hidden>)
 >Re: Looking at self = [super init]. (From: Michael David Crawford <email@hidden>)

  • Prev by Date: Re: Another bindings question
  • Next by Date: Re: Another bindings question
  • Previous by thread: Re: Looking at self = [super init].
  • Next by thread: Re: Looking at self = [super init].
  • Index(es):
    • Date
    • Thread