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] using rusage
- Date: Mon, 23 Jun 2008 08:04:01 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] using rusage
- References: <78d7dd350806181930i6acda17co682c322d3a7872af@mail.gmail.com> <20080619035005.GB11561@lucky.cynic.net> <78d7dd350806190155k328d24bcjcf61cb707c42045c@mail.gmail.com> <20080619114706.GA15943@lucky.cynic.net> <d8fcc0800806191638u4afa8ac9v62409fe0305ad233@mail.gmail.com> <20080620001947.GD19792@lucky.cynic.net> <d8fcc0800806200039t32a6fe51h11ad9b0bec24037e@mail.gmail.com> <20080622003114.GI7494@lucky.cynic.net> <d8fcc0800806211748y4bf4783cla401afe0df23b04a@mail.gmail.com> <20080622043337.GC9873@lucky.cynic.net>
2008/6/22 Curt Sampson <cjs@example.com>: > For any software you're modifying, you essentially pay a maintenance > charge on every single line of code, every month. Of course. But this is never a good reason to not program defensively. In C, you just have to accept that you are going to need some guard code. You should certainly factor that guard code well; macros can be your friend here. I find that any maintenance charge that defensive programming may introduce is less than that of debugging a catastrophic failure that lost data because "malloc() can never fail". -- Cheers, Josh
- Follow-Ups:
- Re: [tlug] using rusage
- From: Curt Sampson
- References:
- [tlug] using rusage
- From: Hung Nguyen Vu
- Re: [tlug] using rusage
- From: Curt Sampson
- Re: [tlug] using rusage
- From: Hung Nguyen Vu
- Re: [tlug] using rusage
- From: Curt Sampson
- Re: [tlug] using rusage
- From: Josh Glover
- Re: [tlug] using rusage
- From: Curt Sampson
- Re: [tlug] using rusage
- From: Josh Glover
- Re: [tlug] using rusage
- From: Curt Sampson
- Re: [tlug] using rusage
- From: Josh Glover
- Re: [tlug] using rusage
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Managing PGP keys on multiple machines
- Next by Date: Re: [tlug] using rusage: "better safe than sorry" programming by default
- Previous by thread: Re: [tlug] using rusage
- Next by thread: Re: [tlug] using rusage
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links