Re: Looking at self = [super init].
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