« Return to Thread: Re: FW: WTT: 1.5G of PC2700 for 1G of PC100

Re: Small servers (was Re: WTT: 1.5G of PC2700 for 1G of PC100)

by wa2egp :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

> 1. Always initialize variables.
>
> 2. Validate the parameters to a system call before you call it.
>
> 3. Validate the results of a system call (as in don't use a NULL pointer).
>
> 4. Always make sure the data fits in the space allocated for it.
>
> 5. Always make sure an I/O operation succeeds.
>
> 6. Put lots of debugging statments in your code.
>    
> 7. Comments, comments, comments.
>  
> 8. Write as simple code as possible. If it is difficult for someone to
>    understand, it will be impossible to maintain. (KISS).
>
> Geoff.

Also remember constants aren't and variable won't.  :)

Bob
_______________________________________________
rescue list - http://www.sunhelp.org/mailman/listinfo/rescue

 « Return to Thread: Re: FW: WTT: 1.5G of PC2700 for 1G of PC100

LightInTheBox - Buy quality products at wholesale price