• 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
Cheap quality improvements (was Re: !foo vs foo == nil)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cheap quality improvements (was Re: !foo vs foo == nil)


  • Subject: Cheap quality improvements (was Re: !foo vs foo == nil)
  • From: Neil Brewitt <email@hidden>
  • Date: Thu, 21 Aug 2008 09:01:13 +0100


On 21 Aug 2008, at 04:03, Michael Ash wrote:

This hazard goes away if you turn on the appropriate warnings. I
compile all of my code with "-W -Wall -Wno-unused-parameter", and it
has caught much more than just this error over the years.

[getting slightly off topic]

Speaking as a battle-hardened QA manager, the one simple step of turning on all warnings and removing them is one of the cheapest ways possible to improve the quality of the output of a dev team[1]. I'm astounded that pretty much every commercial dev team I've worked with have been content to check in code with warnings until I harangue them about it. Also amazing is that they all KNEW what -Wall and -Werror do but were content not to bother with them.

Neil.

[1] Of course firing the chaff is cheaper in the short term, but is not always seen as a pragmatic option when projects are underway.
_______________________________________________


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: Cheap quality improvements (was Re: !foo vs foo == nil)
      • From: Scott Ribe <email@hidden>
References: 
 >!foo vs foo == nil (From: Torsten Curdt <email@hidden>)
 >Re: !foo vs foo == nil (From: Filip van der Meeren <email@hidden>)
 >Re: !foo vs foo == nil (From: Torsten Curdt <email@hidden>)
 >Re: !foo vs foo == nil (From: "John C. Randolph" <email@hidden>)
 >Re: !foo vs foo == nil (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: !foo vs foo == nil
  • Next by Date: Re: Best Way to Handle Properties?
  • Previous by thread: Re: !foo vs foo == nil
  • Next by thread: Re: Cheap quality improvements (was Re: !foo vs foo == nil)
  • Index(es):
    • Date
    • Thread