Programming/Testing practice (Was Re: [Ilugc] Perl script for MySQL Monitoring)
- From: knura9@xxxxxxxxx (Arun Khan)
- Date: Mon May 31 12:31:41 2010
On Mon, May 31, 2010 at 12:04 PM, Raja Subramanian
<rajasuperman@xxxxxxxxx> wrote:
It's good programming practice to always check the return values of your
system and function calls.
Great concept, I still remember the coding guidelines that we had to
follow as a developer for embedded system (local tel. switching
system) in a large MNC, w/o which your code would fail code inspection
and could not be submitted for integration; to name a few (a)
initialization of variables (especially pointers - C was the lang.) ,
(b) return error codes, (c) check error codes. For testing, cases
were required to test boundary value conditions besides the "sunny"
day scenarios.
-- Arun Khan
Other related posts:
- » Programming/Testing practice (Was Re: [Ilugc] Perl script for MySQL Monitoring) - Arun Khan