This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: -Wall by default


On 04/12/2012 02:03 PM, Robert Dewar wrote:
> On 4/12/2012 6:44 AM, Andrew Haley wrote:
> 
>> I would also suggest that a competent programmer would know what they
>> don't know; when reading code they'd look it up, when writing code
>> they'd insert parentheses for clarity.
> 
> Yes, of course I 100% agree with that. But then by your definition
> code that does not have the "parentheses for clarity" is written by
> incompetent programmers, and it seems reasonable to have a warning
> that warns them of this incompetence :-)

Sorry for the confusion: I intended to write

>> I would also suggest that your competent programmer would know what
>> they don't know; when reading code they'd look it up, when writing
>> code they'd insert parentheses for clarity.

Using two different definitions of "competent programmer" without
clarification makes me an incompetent writer, I suppose.  :-)

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]