Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Policy on debug codes
- Date: Fri, 14 Sep 2007 00:52:16 +0900
- From: "Nguyen Vu Hung" <vuhung16plus@example.com>
- Subject: Re: [tlug] Policy on debug codes
- References: <46E8EE01.4040404@cnt.mxt.nes.nec.co.jp> <46E90539.6060207@dcook.org> <46E90A22.7070209@cnt.mxt.nes.nec.co.jp> <46E90F58.5010607@dcook.org>
2007/9/13, Darren Cook <darren@example.com>: > >> Are you talking about a scripting language (like PHP), or a compiled > >> language (like C++)? And open source, or commercial-selling-software, or > >> commercial-written-for-a-client? > > > > In my case, it is Perl and commercial-written-for-a-client > > In that case I'd usually ask the client what they want. > Yes, I will. > Generally, if you are talking about asserts I'd leave them in unless > they cause a performance problem; if talking about trace statements I'd > inserted to track down bugs I'd usually comment them out (or in C/C++ > wrap them in a TRACE() macro so they can be defined away); if talking > about logging you need to document it (e.g. warn the client it'll fill > their disk after N months if they don't rotate it) and provide a setting > to control how verbose the logging is. I my case it is something like TRACE(). I will it to eradicate bugs. After all bugs are fixed, of course TRACE() can be removed. The annoying thing is that because the development cycle is short ( 1-2 months ), then if we remove all the trace, then we may need to re-insert them again because they are useful for debugging... -- Best Regards, Nguyen Hung Vu vuhung16plus{remove}@example.com An inquisitive look at Harajuku http://www.flickr.com/photos/vuhung/sets/72157600109218238/
- Follow-Ups:
- Re: [tlug] Policy on debug codes
- From: Stephen J. Turnbull
- References:
- [tlug] Policy on debug codes
- From: Nguyen Vu Hung ①
- Re: [tlug] Policy on debug codes
- From: Darren Cook
- Re: [tlug] Policy on debug codes
- From: Nguyen Vu Hung
- Re: [tlug] Policy on debug codes
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] A place to connect my laptop
- Next by Date: Re: [tlug] Policy on debug codes
- Previous by thread: Re: [tlug] Policy on debug codes
- Next by thread: Re: [tlug] Policy on debug codes
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links