Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
- Subject: Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
- From: "I. Savant" <email@hidden>
- Date: Fri, 9 Jan 2009 18:41:10 -0500
On Jan 9, 2009, at 1:01 PM, Stuart Malin wrote:
My small addition: I consider that warnings are less about what one
is doing in the very moment of composing code, but about
interpreting code in the future, because when when writing code so
much unstated context is alive in our head, but later all that
(valuable) additional context is (often) gone, and the code must
stand plainly on its own.
I believe comments and documentation are the best way to handle
context (so it's not "unstated" :-) ), but I admit that not only have
I not thought about this as an argument for -Wall et al, but I find I
agree 100%. Well said.
I'll add one of my own favorite statement: A computer is just like
an under-socialized geek - it takes everything *way* too literally. Do
you really want to trust that it "gets it"?
--
I.S.
_______________________________________________
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